ExtensionType class
Defines the ExtensionType class to represent different types of extensions.
Constructors
- ExtensionType.fromValue(int v)
-
Creates an ExtensionType instance from the provided value.
factory
Properties
- accountTypeOfMintType → ExtensionType
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAccountExtension → bool
-
no setter
- isMintExtension → bool
-
no setter
- layoutSize → int?
-
final
- name → String
-
The name of the extension type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
The integer value representing the extension type.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- confidentialTransferAccount → const ExtensionType
- Extension type for confidential transfer account.
- confidentialTransferMint → const ExtensionType
- Extension type for confidential transfer mint.
- cpiGuard → const ExtensionType
- Extension type for CPI guard.
- defaultAccountState → const ExtensionType
- Extension type for default account state.
- groupMemberPointer → const ExtensionType
- Extension type for token metadata.
- groupPointer → const ExtensionType
- immutableOwner → const ExtensionType
- Extension type for immutable owner.
- interestBearingConfig → const ExtensionType
- Extension type for interest-bearing configuration.
- memoTransfer → const ExtensionType
- Extension type for memo transfer.
- metadataPointer → const ExtensionType
- Extension type for metadata pointer.
- mintCloseAuthority → const ExtensionType
- Extension type for mint close authority.
- nonTransferable → const ExtensionType
- Extension type for non-transferable.
- nonTransferableAccount → const ExtensionType
- Extension type for non-transferable account.
- permanentDelegate → const ExtensionType
- Extension type for permanent delegate.
- tokenMetadata → const ExtensionType
- Extension type for token metadata.
- transferFeeAmount → const ExtensionType
- Extension type for transfer fee amount.
- transferFeeConfig → const ExtensionType
- Extension type for transfer fee configuration.
- transferHook → const ExtensionType
- Extension type for transfer hook.
- transferHookAccount → const ExtensionType
- Extension type for transfer hook account.
- uninitialized → const ExtensionType
- Extension type for uninitialized.
-
values
→ const List<
ExtensionType> - List of all ExtensionType values.