MetaDataV2.fromJson constructor
MetaDataV2.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MetaDataV2.fromJson(Map<String, dynamic> json) {
return MetaDataV2(
name: json["name"],
symbol: json["symbol"],
uri: json["uri"],
sellerFeeBasisPoints: json["sellerFeeBasisPoints"],
creators: json["creators"] == null
? null
: (json["creators"] as List)
.map((e) => Creator.fromJson(e))
.toList(),
collection: json["collection"] == null
? null
: Collection.fromJson(json["collection"]),
uses: json["uses"] == null ? null : Uses.fromJson(json["uses"]));
}