SearchTrending.fromJson constructor

SearchTrending.fromJson(
  1. Map<String, dynamic> json
)

Constructs a SearchTrending instance from a JSON object.

json is a map containing the trending coins data.

Implementation

SearchTrending.fromJson(Map<String, dynamic> json)
    : this.coins = _parseCoins(json);