NftLinksData.fromJson constructor

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

Constructs an instance of NftLinksData from a JSON map.

json is a map containing key-value pairs corresponding to the fields of this class.

Implementation

NftLinksData.fromJson(Map<String, dynamic> json)
    : this.homepage = Convert.toStr(json['homepage'], ''),
      this.twitter = Convert.toStrN(json['twitter']),
      this.discord = Convert.toStrN(json['discord']) {}