NftSearchResults.fromJson constructor

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

Constructs an NftSearchResults instance from a JSON map.

json is the JSON map containing the NFT data.

Implementation

NftSearchResults.fromJson(Map<String, dynamic> json)
    : this.id = Convert.toStr(json['id'], ''),
      this.name = Convert.toStr(json['name'], ''),
      this.symbol = Convert.toStr(json['symbol'], ''),
      this.thumb = Convert.toStr(json['thumb'], '');