TransactionMetadataType class
Represents a type of transaction metadata with serialization support.
- Mixed in types
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
-
fromName(
String? name) → TransactionMetadataType
Constants
- metadataBytes → const TransactionMetadataType
- Represents metadata type for a metadata bytes.
- metadataInt → const TransactionMetadataType
- Represents metadata type for an integer metadata.
- metadataList → const TransactionMetadataType
- Represents metadata type for a metadata list.
- metadataMap → const TransactionMetadataType
- Represents metadata type for a metadata map.
- metadataText → const TransactionMetadataType
- Represents metadata type for a metadata text.
-
values
→ const List<
TransactionMetadataType>