TronRequestFreezeBalanceV2.fromContract constructor
TronRequestFreezeBalanceV2.fromContract(
- FreezeBalanceV2Contract contract, {
- int? permissionId,
- bool visible = true,
Implementation
factory TronRequestFreezeBalanceV2.fromContract(
FreezeBalanceV2Contract contract,
{int? permissionId,
bool visible = true}) {
return TronRequestFreezeBalanceV2(
ownerAddress: contract.ownerAddress,
frozenBalance: contract.frozenBalance,
resource: contract.resource?.name,
permissionId: permissionId,
visible: visible);
}