toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'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,
};