TronRequestUndelegateResource.fromContract constructor
TronRequestUndelegateResource.fromContract(
- UnDelegateResourceContract contract, {
- int? permissionId,
Implementation
factory TronRequestUndelegateResource.fromContract(
UnDelegateResourceContract contract,
{int? permissionId}) {
return TronRequestUndelegateResource(
ownerAddress: contract.ownerAddress,
receiverAddress: contract.receiverAddress,
balance: contract.balance,
resource: contract.resource?.name,
permissionId: permissionId);
}