TronRequestCreateAccount.fromContract constructor
TronRequestCreateAccount.fromContract(
- AccountCreateContract contract, {
- int? permissionId,
- bool visible = true,
Implementation
factory TronRequestCreateAccount.fromContract(
AccountCreateContract contract, {
int? permissionId,
bool visible = true,
}) {
return TronRequestCreateAccount(
ownerAddress: contract.ownerAddress,
accountAddress: contract.accountAddress,
type: contract.type?.name,
permissionId: permissionId,
visible: visible);
}