TokenAmoutResponse class

Constructors

TokenAmoutResponse({required String amount, required int decimals, double? uiAmount, String? uiAmountString})
const
TokenAmoutResponse.fromJson(Map<String, dynamic> json)
factory

Properties

amount String
Raw amount of tokens as string ignoring decimals
final
decimals int
Number of decimals configured for token's mint
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uiAmount double?
Token amount as float, accounts for decimals
final
uiAmountString String?
Token amount as string, accounts for decimals
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