toJson method

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

Implementation

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