TransactionDataOptionType class
Represents the type of data included in a transaction option with serialization support.
- Mixed in types
Constructors
- TransactionDataOptionType.deserialize(CborIntValue cbor, {TransactionDataOptionType? validate})
-
Deserializes a TransactionDataOptionType object from its CBOR representation.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → List< int> -
Serializes the object to CBOR bytes.
inherited
-
serializeHex(
) → String -
Serializes the object to hexadecimal string.
inherited
-
toCbor(
) → CborObject -
Converts the object to a CBOR object.
override
-
toJson(
) → String -
Converts the object to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int? value) → TransactionDataOptionType - Returns the TransactionDataOptionType corresponding to the specified value.
Constants
- data → const TransactionDataOptionType
- Option type for data.
- dataHash → const TransactionDataOptionType
- Option type for data hash.
-
values
→ const List<
TransactionDataOptionType> - List of all available option types.