TransactionData<T extends Object> class
Transaction Data
- Inheritance
-
- Object
- Serializable
- TransactionData
- Mixed-in types
- Implementers
Constructors
- TransactionData.new({required T transaction, required Meta? meta, required Object? version})
-
Confirmed Transaction Block.
const
-
TransactionData.fromJson(Map<
String, dynamic> json) -
Creates an instance of
this
class from the constructor parameters defined in thejson
object.factory
Properties
- binaryData → String
-
Casts rawData to a binary encoded String.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBinary → bool
-
True
if rawData is a binary encoded List.no setterinherited - isJson → bool
-
True
if rawData is a JSON object.no setterinherited -
jsonData
→ Map<
String, dynamic> -
Casts rawData to a JSON object.
no setterinherited
- meta → Meta?
-
Transaction status metadata.
final
- rawData → T
-
A Serializable class for Account and Transaction data.
Account or Transaction data.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transaction → T
-
Transaction data returned as JSON or binary encoded data.
final
- version → Object?
-
Transaction version ('legacy'|number) or
null
if GetBlockConfig.maxSupportedTransactionVersion was not set in the request params.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serialises
this
class into a JSON object.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
Map< String, dynamic> json) → TransactionData<Object> -
Creates an instance of
this
class from the constructor parameters defined in thejson
object.
Constants
- transactionKey → const String
- The transaction data key.