toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (backup != null) 'backup': backup!,
  if (backupLocation != null) 'backupLocation': backupLocation!,
  if (details != null) 'details': details!,
  if (endTime != null) 'endTime': endTime!,
  if (startTime != null) 'startTime': startTime!,
  if (state != null) 'state': state!,
  if (type != null) 'type': type!,
};