Data class

TransactionData represents the data section for every transaction.

Constructors

Data({String? code, String? content, List<Ownership>? ownerships, 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
hashCode int
The hash code for this object.
no setterinherited
ledger Ledger?
Ledger: asset transfers
getter/setter pair
ownerships List<Ownership>?
Ownership: authorization/delegations containing list of secrets and their authorized public keys to proof the ownership
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