toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (developerInitiatedCancellation != null)
'developerInitiatedCancellation': developerInitiatedCancellation!,
if (replacementCancellation != null)
'replacementCancellation': replacementCancellation!,
if (systemInitiatedCancellation != null)
'systemInitiatedCancellation': systemInitiatedCancellation!,
if (userInitiatedCancellation != null)
'userInitiatedCancellation': userInitiatedCancellation!,
};