TronRequestAccountPermissionUpdate.fromContract constructor
TronRequestAccountPermissionUpdate.fromContract(
- AccountPermissionUpdateContract contract, {
- int? permissionId,
Implementation
factory TronRequestAccountPermissionUpdate.fromContract(
AccountPermissionUpdateContract contract,
{int? permissionId}) {
return TronRequestAccountPermissionUpdate(
ownerAddress: contract.ownerAddress,
actives: contract.actives.map((e) => e.toJson()).toList(),
owner: contract.owner.toJson(),
witness: contract.witness?.toJson(),
permissionId: permissionId,
visible: true);
}