PackSet class
- Inheritance
-
- Object
- LayoutSerializable
- PackSet
Constructors
-
PackSet({required NFTPacksAccountType accountType, required SolAddress store, required SolAddress authority, required String description, required String uri, required List<
int> name, required int packCards, required int packVouchers, required BigInt totalWeight, required BigInt totalEditions, required bool mutable, required PackSetState packState, required PackDistributionType distributionType, required int allowedAmountToRedeem, required BigInt redeemStartDate, BigInt? redeemEndDate}) -
const
-
PackSet.fromBuffer(List<
int> data) -
factory
Properties
- accountType → NFTPacksAccountType
-
final
- allowedAmountToRedeem → int
-
final
-
final
- description → String
-
final
- distributionType → PackDistributionType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layout → StructLayout
-
The layout representing the structure of the object for serialization.
no setteroverride
- mutable → bool
-
final
-
name
→ List<
int> -
final
- packCards → int
-
final
- packState → PackSetState
-
final
- packVouchers → int
-
final
- redeemEndDate → BigInt?
-
final
- redeemStartDate → BigInt
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → SolAddress
-
final
- totalEditions → BigInt
-
final
- totalWeight → BigInt
-
final
- uri → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Map< String, dynamic> -
Serializes the object to a map.
override
-
toBytes(
) → List< int> -
Converts the object to bytes using Borsh serialization.
inherited
-
toHex(
) → String -
Converts the object to a hexadecimal string.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited