Collection.fromJson constructor
Constructs a Collection from a JSON map.
This method uses the generated _$CollectionFromJson
function to deserialize
the json
object. The JSON object must have the required keys:
'collectionName', 'collectionSymbol', and 'collectionAddress'.
Implementation
factory Collection.fromJson(Map<String, dynamic> json) =>
_$CollectionFromJson(json);