TronRequestUnfreezeBalanceV2.fromContract constructor

TronRequestUnfreezeBalanceV2.fromContract(
  1. UnfreezeBalanceV2Contract contract, {
  2. int? permissionId,
})

Implementation

factory TronRequestUnfreezeBalanceV2.fromContract(
    UnfreezeBalanceV2Contract contract,
    {int? permissionId}) {
  return TronRequestUnfreezeBalanceV2(
      ownerAddress: contract.ownerAddress,
      unfreezeBalance: contract.unfreezeBalance,
      resource: contract.resource?.name,
      permissionId: permissionId);
}