NFT class

Annotations

Constructors

NFT({@JsonKey(name: 'contract_address') required String contractAddress, @JsonKey(name: 'erc_type') required String? ercType, @JsonKey(name: 'floor_prices') required List<NFTFloorPrice>? floorPrices, @JsonKey(name: 'image_uri') required String? imageUri, required NFTMetadata? metadata, @JsonKey(name: 'mint_time') required DateTime mintTime, @JsonKey(name: 'mint_transaction_hash') required String mintTransactionHash, required String? name, required String? owner, @JsonKey(name: 'rarity_rank') required num? rarityRank, @JsonKey(name: 'rarity_score') required num? rarityScore, required String symbol, @JsonKey(name: 'token_id') required String tokenId, @JsonKey(name: 'token_uri') required String? tokenUri, required num? total, @JsonKey(name: 'total_string') required String? totalString, required List<NFTAttributes>? traits})
const
factory
NFT.fromJson(Map<String, dynamic> json)
factory

Properties

contractAddress String
read-onlyinherited
copyWith → $NFTCopyWith<NFT>
read-onlyinherited
ercType String?
read-onlyinherited
floorPrices List<NFTFloorPrice>?
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
imageUri String?
read-onlyinherited
metadata NFTMetadata?
read-onlyinherited
mintTime DateTime
read-onlyinherited
mintTransactionHash String
read-onlyinherited
name String?
read-onlyinherited
owner String?
read-onlyinherited
rarityRank num?
read-onlyinherited
rarityScore num?
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
symbol String
read-onlyinherited
tokenId String
read-onlyinherited
tokenUri String?
read-onlyinherited
total num?
read-onlyinherited
totalString String?
read-onlyinherited
traits List<NFTAttributes>?
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited