LeafSchemaV1 class
- Inheritance
-
- Object
- LayoutSerializable
- LeafSchemaV1
Constructors
-
LeafSchemaV1({required SolAddress id, required SolAddress owner, required SolAddress delegate, required BigInt nonce, required List<
int> dataHash, required List<int> creatorHash}) -
LeafSchemaV1.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
creatorHash
→ List<
int> -
final
-
dataHash
→ List<
int> -
final
- delegate → SolAddress
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → SolAddress
-
final
- layout → StructLayout
-
The layout representing the structure of the object for serialization.
no setteroverride
- nonce → BigInt
-
final
- owner → SolAddress
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Properties
- staticLayout ↔ StructLayout
-
getter/setter pair