CurrencyParams class

Parameter for specifying currency, used in Ethereum.walletAddChain.

Constructors

CurrencyParams({required String name, required String symbol, required int decimals})
Instantiate CurrencyParams by using name, symbol, and decimals.
factory

Properties

decimals int
no setter
hashCode int
The hash code for this object.
no setterinherited
impl → _CurrencyParamsImpl
Internal JS Object, should not be used directly.
finalinherited
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
no setter

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