Recipient class

Recipient represents a Smart Contract call.

Annotations
  • @freezed

Constructors

Recipient({String? action, String? address, List<Object>? args})
const
factory
Recipient.fromJson(Map<String, dynamic> json)
factory

Properties

action String?
Name of the action
no setterinherited
address String?
Contract's address
no setterinherited
args List<Object>?
List of arguments for the action (must contain only JSON valid data)
no setterinherited
copyWith → $RecipientCopyWith<Recipient>
Create a copy of Recipient with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
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
sortArgs() List<Object>?
sortMapKeys(Map<String, dynamic> map) Map<String, dynamic>
toJson() Map<String, dynamic>
Serializes this Recipient to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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