TronRequestTransferAsset.fromJson constructor
TronRequestTransferAsset.fromJson(
- TransferAssetContract contract, {
- bool visible = true,
- int? permissionId,
- String? extraData,
Implementation
factory TronRequestTransferAsset.fromJson(TransferAssetContract contract,
{bool visible = true, int? permissionId, String? extraData}) {
return TronRequestTransferAsset(
ownerAddress: contract.ownerAddress,
toAddress: contract.toAddress,
assetName: StringUtils.decode(contract.assetName),
amount: contract.amount,
permissionId: permissionId,
visible: visible,
extraData: extraData,
);
}