toJson method

Map<String, dynamic> toJson()

Implementation

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