SimpleRecipient class

Constructors

SimpleRecipient(ToplAddress key, SimpleValue value)
SimpleRecipient.fromJson(List jsonList)
A necessary factory constructor for creating a new Recipient instance from a map. Pass the map to the generated _$RecipientFromJson() constructor. The constructor is named after the source class, in this case, Recipient.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key ToplAddress
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → SimpleValue
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBroadcastJson() List
This second json encoder is to support the broadcastTx representation of this recipient.
toJson() List
toJson is the convention for a class to declare support for serialization to JSON. The implementation simply calls the private, generated helper method _$RecipientToJson.
toString() String
A string representation of this object.
inherited

Operators

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