toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['id'] = id;
  map['email'] = email;
  map['address'] = address;
  map['reference'] = reference;
  map['expectedAmountInUSD'] = expectedAmountInUSD;
  map['expectedAmountInCrypto'] = expectedAmountInCrypto;
  map['feeInCrypto'] = feeInCrypto;
  map['feeInUSD'] = feeInUSD;
  map['expectedAmountWithFeeInCrypto'] = expectedAmountWithFeeInCrypto;
  map['crypto'] = crypto;
  map['baseFiat'] = baseFiat;
  map['baseFiatToUSDRate'] = baseFiatToUSDRate;
  map['usdToCryptoRate'] = usdToCryptoRate;
  return map;
}