toJson method

Map<String, dynamic> toJson()

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!,
    };