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