toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "reference": reference,
      "method": resolveMethodName(),
      "account": account,
      "currency": currency,
      "amount": amount,
      "status": status?.name,
    };