toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backupLocation != null) 'backupLocation': backupLocation!,
      if (cronSchedule != null) 'cronSchedule': cronSchedule!,
      if (enabled != null) 'enabled': enabled!,
      if (latestBackup != null) 'latestBackup': latestBackup!,
      if (nextScheduledTime != null) 'nextScheduledTime': nextScheduledTime!,
      if (timeZone != null) 'timeZone': timeZone!,
    };