ERC20Entity class

Inheritance

Constructors

ERC20Entity({required String name, required String symbol, required int decimals, required int chainID, required String contractAddress, bool? allowDeletion = false})
const
ERC20Entity.fromJson(Map<String, dynamic> json, {required bool allowDeletion, required int chainID})
factory

Properties

allowDeletion bool?
final
asEthBased ERC20Entity?
no setterinherited
chainID int
finalinherited
contractAddress String
final
decimals int
finalinherited
hashCode int
The hash code for this object.
no setteroverride
identifier String
no setteroverride
isERC20 bool
no setterinherited
isEvm bool
no setterinherited
isUTXO bool
no setterinherited
lowerCaseAddress String
no setter
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subunits num
no setterinherited
symbol String
finalinherited

Methods

copyWith({String? name, String? symbol, int? decimals, String? contractAddress, bool? allowDeletion, int? chainID}) ERC20Entity
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.
override