toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (endTime != null) 'endTime': endTime!,
if (maintenanceStatus != null) 'maintenanceStatus': maintenanceStatus!,
if (startTime != null) 'startTime': startTime!,
if (type != null) 'type': type!,
};