TronRequestCreateTransaction.fromContract constructor

TronRequestCreateTransaction.fromContract(
  1. TransferContract contract, {
  2. int? permissionId,
  3. bool visible = false,
})

Implementation

factory TronRequestCreateTransaction.fromContract(TransferContract contract,
    {int? permissionId, bool visible = false}) {
  return TronRequestCreateTransaction(
      ownerAddress: contract.ownerAddress,
      toAddress: contract.toAddress,
      amount: contract.amount,
      permissionId: permissionId,
      visible: visible);
}