ERC1155Entity class

Inheritance

Constructors

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

Properties

allowDeletion → bool?
finalinherited
asERC1155 → ERC1155Entity?
no setterinherited
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 setterinherited
isERC1155 → bool
no setterinherited
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
tokenId → BigInt
final

Methods

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