toJson method

  1. @override
Map<String, Object?> toJson()

Implementation

@override
Map<String, Object?> toJson() => {
      if (recipient != null) "recipient": encodeValue(recipient),
      if (fixCode != null) "fix_code": encodeValue(fixCode),
      if (type != null) "type": encodeValue(type),
    };