MetaplexNFTPacksInitPackLayout class

Inheritance

Constructors

MetaplexNFTPacksInitPackLayout({required List<int> name, required String description, required String uri, required bool mutable, required PackDistributionType packDistributionType, required int allowedAmountToRedeem, BigInt? redeemStartDate, BigInt? redeemEndDate})
MetaplexNFTPacksInitPackLayout.fromBuffer(List<int> data)
factory

Properties

allowedAmountToRedeem int
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
instruction int
The instruction of the program.
no setteroverride
layout → StructLayout
The layout representing the structure of the program.
no setteroverride
mutable bool
final
name List<int>
final
packDistributionType PackDistributionType
final
redeemEndDate BigInt?
final
redeemStartDate BigInt?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, dynamic>
Serializes the program.
override
toBytes() List<int>
Converts the program to bytes using Borsh serialization.
inherited
toHex() String
Converts the program to a hexadecimal string.
inherited
toString() String
A string representation of this object.
inherited

Operators

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