AptosGraphQLCollectionOwnershipV2View.fromJson constructor
AptosGraphQLCollectionOwnershipV2View.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AptosGraphQLCollectionOwnershipV2View.fromJson(
Map<String, dynamic> json) {
return AptosGraphQLCollectionOwnershipV2View(
collectionId: json['collection_id'],
collectionName: json['collection_name'],
collectionUri: json['collection_uri'],
creatorAddress: json['creator_address'],
distinctTokens: json['distinct_tokens'],
lastTransactionVersion: json['last_transaction_version'],
ownerAddress: json['owner_address'],
singleTokenUri: json['single_token_uri'],
currentCollection: json['current_collection'] != null
? AptosGraphQLCollectionOwnershipV2ViewCollection.fromJson(
json['current_collection'])
: null,
);
}