toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      'payment_method': paymentMethod,
      'expiration_date': expirationDate,
      'base_currency_amount': baseCurrencyAmount,
      'cryptocurrency_amount': cryptocurrencyAmount,
      'cryptocurrency_price': cryptocurrencyPrice,
      'fee_amount': feeAmount,
      'extra_fee_amount': extraFeeAmount,
      'network_fee_amount': networkFeeAmount,
      'total_amount': totalAmount,
      '@type': constructor,
    };