JsWatchAsset class

Constructors

JsWatchAsset({required String type, required String contract, required String symbol, required int decimals, required String image, required String tokenId})
Constructor...
JsWatchAsset.fromJson(Map<String, dynamic>? json)
factory

Properties

contract String
Address The address of the token contract.
getter/setter pair
decimals int
The number of token decimals (optional for ERC-20 tokens).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
image String
A string URL of the token logo (optional for ERC-20 tokens).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
A ticker symbol or shorthand, up to 11 characters (optional for ERC-20 tokens).
getter/setter pair
tokenId String
The unique identifier of the NFT (required for ERC-721 and ERC-1155 tokens).
getter/setter pair
type String
enum: ERC20, ERC721, ERC1155
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited