IssuedCurrency class

Represents a currency issued on the XRP Ledger with a specific issuer.

Inheritance
Implemented types
Implementers

Constructors

IssuedCurrency.new({required String currency, required String issuer})
Creates an instance of IssuedCurrency with the specified currency and issuer.
IssuedCurrency.fromJson(Map<String, dynamic> json)
Creates an instance of IssuedCurrency from JSON data.

Properties

currency String
The currency code of the issued currency.
final
hashCode int
Calculates the hash code for the IssuedCurrency instance.
no setteroverride
issuer String
The issuer's address associated with the issued currency.
final
isXrp bool
Indicates whether the currency is XRP.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validate String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAmount(String value) IssuedCurrencyAmount
Converts the issued currency to an IssuedCurrencyAmount with the specified value.
toJson() Map<String, dynamic>
Converts the object to a JSON representation.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
Checks if two instances of IssuedCurrency are equal.
override