MetadataCollection class
Inheritance
Annotations
@JsonSerializable(explicitToJson: true)
Constructors
MetadataCollection.new ({required bool verified , required Pubkey key })
Links to the Mint address of another NFT that acts as a Collection NFT. It contains the
following sub-fields.
const
MetadataCollection.fromJson (Map <String , dynamic > json )
Creates an instance of this
class from the constructor parameters defined in the json
object.
factory
Properties
borshSchema
→ BorshSchemaSized
Maps this
class' properties to codecs.
no setter override
hashCode
→ int
The hash code for this object.
no setter inherited
key
→ Pubkey
The public key of the Collection NFT's Mint Account.
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
verified
→ bool
A boolean indicating if the owner of the Collection NFT signed this NFT. It is important to
check this field to ensure the authenticity of the collection.
final
Methods
borshSize ()
→ int
Returns the serialized byte length of this
instance.
inherited
borshSpace ()
→ int
The serialized byte length required to store any instance of this class (i.e. max size).
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBorsh ()
→ Iterable <int >
Serializes this
instance into a buffer.
inherited
toJson ()
→ Map <String , dynamic >
Serialises this
class into a JSON object.
override
toString ()
→ String
A string representation of this object.
inherited