AssetTransfer constructor

AssetTransfer({
  1. String? toAddress,
  2. Int64? amount,
  3. Int64? assetId,
})

Implementation

factory AssetTransfer({
  $core.String? toAddress,
  $fixnum.Int64? amount,
  $fixnum.Int64? assetId,
}) {
  final _result = create();
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  if (assetId != null) {
    _result.assetId = assetId;
  }
  return _result;
}