BeuiToken class

A token in a BeuiMultiChainSwap (source Token).

Annotations

Constructors

BeuiToken({required String id, required String symbol, required String name, required String chainId, String? address, double? balance, double? usd, bool trending = false, bool popular = false})
Creates a token.
const

Properties

address String?
Truncated contract address, shown in list rows.
final
balance double?
Wallet balance.
final
chainId String
Owning chain id.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Stable identity.
final
name String
Display name.
final
Shown in the popular row.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
Ticker symbol.
final
Shown in the trending section.
final
usd double?
USD price (drives the demo quote rate).
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