Value class

This class represents a PC2.0 value tag and is used for value-for-value payments via cryptocurrency or another payment layer.

Constructors

Value({String? type, String? method, double? suggested, List<ValueRecipient>? recipients = const <ValueRecipient>[]})

Properties

hashCode int
The hash code for this object.
no setterinherited
method String?
The transport mechanism used. For example 'keysend'.
final
recipients List<ValueRecipient>?
Each value can have zero or more recipients who will receive a split of the value sent.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suggested double?
The suggested payment amount.
final
type String?
The service layer to use. For example, 'lightning' for payments over the Lightning network.
final

Methods

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

Operators

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