toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (backup != null) 'backup': backup!,
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!,
};