TronRequestUpdateAccount.fromContract constructor
TronRequestUpdateAccount.fromContract(
- AccountUpdateContract contract, {
- int? permissionId,
- bool visible = true,
Implementation
factory TronRequestUpdateAccount.fromContract(AccountUpdateContract contract,
{int? permissionId, bool visible = true}) {
return TronRequestUpdateAccount(
ownerAddress: contract.ownerAddress,
accountName: StringUtils.decode(contract.accountName),
pemissionId: permissionId,
visible: visible);
}