toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (reason != null) 'reason': reason!,
if (resourceId != null) 'resourceId': resourceId!,
if (seedResourceId != null) 'seedResourceId': seedResourceId!,
};