Data class

TransactionData represents the data section for every transaction.

Constructors

Data({String? code, String? content, Keys? keys, Ledger? ledger, List<String>? recipients})
Data.fromJson(Map<String, dynamic> json)
factory

Properties

code String?
Code: smart contract code (hexadecimal),
getter/setter pair
content String?
Content: free zone for data hosting (string or hexadecimal)
getter/setter pair
contentDisplay String?
ContentDisplay: convert Content to lisible string
no setter
hashCode int
The hash code for this object.
no setterinherited
keys Keys?
Keys: Secrets and authorized public keys to decrypt the secret
getter/setter pair
ledger Ledger?
Ledger: asset transfers
getter/setter pair
recipients List<String>?
Recipients: For non asset transfers, the list of recipients of the transaction (e.g Smart contract interactions)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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