Data.fromJson constructor
Data.fromJson(
- dynamic json
Implementation
Data.fromJson(dynamic json) {
id = json['id'];
email = json['email'];
address = json['address'];
reference = json['reference'];
expectedAmountInUSD = json['expectedAmountInUSD'];
expectedAmountInCrypto = json['expectedAmountInCrypto'];
feeInCrypto = json['feeInCrypto'];
feeInUSD = json['feeInUSD'];
expectedAmountWithFeeInCrypto = json['expectedAmountWithFeeInCrypto'];
crypto = json['crypto'];
baseFiat = json['baseFiat'];
baseFiatToUSDRate = json['baseFiatToUSDRate'];
usdToCryptoRate = json['usdToCryptoRate'];
}