MetadataCollectionDetailsV1 class

Metadata Collection Details V1 (Enum Variant)

Inheritance
Annotations
  • @JsonSerializable.new()

Constructors

MetadataCollectionDetailsV1({required u64 size})
const
MetadataCollectionDetailsV1.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 setteroverride
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
The size of the collection, i.e. the number of NFTs that are directly linked to this Collection NFT.
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

Operators

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

Static Properties

codec → BorshStructSizedCodec
The encoders/decoders of this class' properties.
no setter