toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> json = <String, dynamic>{};
  json['id'] = id;
  json['symbol'] = symbol;
  json['address'] = address;
  json['image_url'] = imageUrl;
  json['name'] = name;
  json['decimals'] = decimals;
  json['eth_price'] = ethPrice;
  json['usd_price'] = usdPrice;
  return json;
}