Token.fromJson constructor
Implementation
factory Token.fromJson(Map<String, dynamic> json) {
return Token(
USD: json['USD'] != null ? json['USD'].toDouble() : 1.0,
decimals: json['decimals'],
ethereumAddress: json['ethereumAddress'],
ethereumBlockNum: json['ethereumBlockNum'],
fiatUpdate: json['fiatUpdate'],
id: json['id'],
itemId: json['itemId'],
name: json['name'],
symbol: json['symbol']);
}