NftCollection constructor

NftCollection(
  1. String uuid,
  2. Map<String, dynamic>? data
)

Constructor which should only be called via Nft class. @param uuid Unique identifier of the NFT collection. @param data Data to populate the collection with.

Implementation

NftCollection(String uuid, Map<String, dynamic>? data) : super(uuid) {
  apiPrefix = '/nfts/collections/$uuid';
  populate(data);
}