TokenInfo class

Annotations
  • @freezed

Constructors

TokenInfo({@JsonKey(name: 'tokenId') required Token token, required String tokenName, required String tokenSymbol, required int decimals, required BigInt totalSupply, required Address owner, required bool isReIssuable, required bool isOwnerBurnOnly, required BigInt maxSupply, required int index})
factory
TokenInfo.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $TokenInfoCopyWith<TokenInfo>
no setterinherited
decimals int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
index int
no setterinherited
isNative bool
latefinal
isOwnerBurnOnly bool
no setterinherited
isReIssuable bool
no setterinherited
maxSupply BigInt
no setterinherited
owner Address
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbolLabel String
latefinal
token Token
no setterinherited
tokenId TokenId
no setter
tokenName String
no setterinherited
tokenSymbol String
no setterinherited
totalSupply BigInt
no setterinherited

Methods

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

Operators

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

Static Properties

vite TokenInfo
final
zero TokenInfo
final

Static Methods

unknownToken(Token token) TokenInfo

Constants

nativeTokens → const Set<String>