Currency class

A currency is any fungible financial instrument on Ethereum, including Ether and all ERC20 tokens.

The only instance of the base class Currency is Ether.

Implementers

Constructors

Currency(int decimals, String? symbol, String? name)

Properties

decimals int
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
name String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String?
getter/setter pair

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.
override

Static Properties

ether Currency
final
weth Map<dynamic, Currency>
final