ERC1155Entity.fromJson constructor
Implementation
factory ERC1155Entity.fromJson(
Map<String, dynamic> json, {
required bool allowDeletion,
required int chainID,
}) {
return ERC1155Entity(
name: json['name'],
symbol: json['symbol'],
contractAddress: json['contractAddress'],
tokenId: BigInt.parse(json['tokenId']),
allowDeletion: allowDeletion,
chainID: chainID,
);
}