Token class

Inheritance

Constructors

Token(String address, String name, String symbol, int decimals)
Token.fromTokenDetails(TokenDetails tokenDetails)

Properties

address String
finalinherited
decimals int
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
finalinherited

Methods

fetchBalance(String accountAddress) Future<TokenAmount>
isNative() bool
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

Static Methods

fetchToken(String tokenAddress) Future<Token>