GeneralTransactionMetadata class

Represents general transaction metadata.

Mixed in types

Constructors

GeneralTransactionMetadata({required Map<BigInt, TransactionMetadata> metadata})
Constructs a GeneralTransactionMetadata object.
GeneralTransactionMetadata.deserialize(CborMapValue cbor)
Deserializes a GeneralTransactionMetadata object from CBOR.
factory
GeneralTransactionMetadata.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata Map<BigInt, TransactionMetadata>
The metadata associated with each transaction index.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Map<BigInt, TransactionMetadata>? metadata}) GeneralTransactionMetadata
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 metadata to CBOR.
override
toJson() Map<String, dynamic>
Converts the metadata to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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