TronRequestParticipateAssetIssue.fromContract constructor

TronRequestParticipateAssetIssue.fromContract(
  1. ParticipateAssetIssueContract contract, {
  2. bool visible = true,
})

Implementation

factory TronRequestParticipateAssetIssue.fromContract(
    ParticipateAssetIssueContract contract,
    {bool visible = true}) {
  return TronRequestParticipateAssetIssue(
      toAddress: contract.toAddress,
      ownerAddress: contract.ownerAddress,
      amount: contract.amount,
      assetName: StringUtils.decode(contract.assetName),
      visible: visible);
}