TransactionMetadata<T> class abstract

Abstract class representing transaction metadata.

Implemented types
Mixed in types
Implementers

Constructors

TransactionMetadata()
Constructs a TransactionMetadata.
const
TransactionMetadata.deserialize(CborObject obj)
Constructs a TransactionMetadata from CBOR.
factory
TransactionMetadata.fromCborBytes(List<int> cborBytes)
Constructs a TransactionMetadata from CBOR bytes.
factory
TransactionMetadata.fromJson(Map<String, dynamic> json)
factory
TransactionMetadata.fromJsonSchema({required dynamic json, required MetadataJsonSchema jsonSchema})
Constructs a TransactionMetadata from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type TransactionMetadataType
The type of the transaction metadata.
final
value → T
The value of the transaction metadata.
final

Methods

compareTo(TransactionMetadata other) int
Compares this object to another object.
override
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.
inherited
toJson() Map<String, dynamic>
Converts the transaction metadata to JSON.
override
toJsonSchema({MetadataSchemaConfig config = const MetadataSchemaConfig(jsonSchema: MetadataJsonSchema.noConversions)}) → dynamic
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited