TronRequestUpdateAsset.fromContract constructor
TronRequestUpdateAsset.fromContract(
- UpdateAssetContract contract, {
- int? permissionId,
- bool visible = true,
Implementation
factory TronRequestUpdateAsset.fromContract(
UpdateAssetContract contract, {
int? permissionId,
bool visible = true,
}) {
return TronRequestUpdateAsset(
ownerAddress: contract.ownerAddress,
description: StringUtils.tryDecode(contract.description),
url: StringUtils.tryDecode(contract.url),
newLimit: contract.newLimit,
newPublicLimit: contract.newPublicLimit,
permissionId: permissionId,
visible: visible,
);
}