Payment class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.kebab)

Constructors

Payment({required String receiver, required int amount, int? closeAmount, String? closeRemainderTo})
Payment.fromJson(Map<String, dynamic> json)
factory

Properties

amount int
The total amount to be sent in microAlgos. Amounts are returned in microAlgos - the base unit for Algos. Micro denotes a unit x 10^-6. 1 Algo equals 1,000,000 microAlgos. TODO BigInt
final
closeAmount int?
Number of MicroAlgos that were sent to the close-remainder-to address when closing the sender account.
final
closeRemainderTo String?
When set, indicates that the sending account should be closed and all remaining funds be transferred to this address.
final
hashCode int
The hash code for this object.
no setterinherited
receiver String
The address of the account that receives the amount.
final
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