toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (actor != null) 'actor': actor!,
if (amount != null) 'amount': amount!,
if (creationDate != null) 'creationDate': creationDate!,
if (reason != null) 'reason': reason!,
if (reasonText != null) 'reasonText': reasonText!,
};