toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final backupLocation = this.backupLocation;
  final cronSchedule = this.cronSchedule;
  final enabled = this.enabled;
  final latestBackup = this.latestBackup;
  final nextScheduledTime = this.nextScheduledTime;
  final timeZone = this.timeZone;
  return {
    'backupLocation': ?backupLocation,
    'cronSchedule': ?cronSchedule,
    'enabled': ?enabled,
    'latestBackup': ?latestBackup,
    'nextScheduledTime': ?nextScheduledTime,
    'timeZone': ?timeZone,
  };
}