toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (enabled != null) 'enabled': enabled!,
      if (snapshotCreationSchedule != null)
        'snapshotCreationSchedule': snapshotCreationSchedule!,
      if (snapshotLocation != null) 'snapshotLocation': snapshotLocation!,
      if (timeZone != null) 'timeZone': timeZone!,
    };