CurrencyAvailable.fromJson constructor
CurrencyAvailable.fromJson(
- Map<String, dynamic> json
)
Implementation
CurrencyAvailable.fromJson(Map<String, dynamic> json) {
symbol = json["symbol"];
thousandSeparator = json["thousandSeparator"];
decimalSeparator = json["decimalSeparator"];
decimalPlaces = json["decimalPlaces"] is num
? json["decimalPlaces"]
: int.tryParse(json["decimalPlaces"] ?? "2");
symbolPosition = json["symbolPosition"];
symbolForBillion = json["symbolForBillion"];
symbolForMillion = json["symbolForMillion"];
symbolForThousands = json["symbolForThousands"];
subUnit = json["subUnit"];
currencyName = json["currencyName"];
currencyCode = json["currencyCode"];
exchange = json["exchange"];
}