GetTxsEventResponse constructor

GetTxsEventResponse({
  1. Iterable<Tx>? txs,
  2. Iterable<TxResponse>? txResponses,
  3. PageResponse? pagination,
})

Implementation

factory GetTxsEventResponse({
  $core.Iterable<$7.Tx>? txs,
  $core.Iterable<$8.TxResponse>? txResponses,
  $6.PageResponse? pagination,
}) {
  final _result = create();
  if (txs != null) {
    _result.txs.addAll(txs);
  }
  if (txResponses != null) {
    _result.txResponses.addAll(txResponses);
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}