EntriesList constructor

EntriesList({
  1. Iterable<CoinOutput>? coinOutputs,
  2. Iterable<ItemOutput>? itemOutputs,
  3. Iterable<ItemModifyOutput>? itemModifyOutputs,
})

Implementation

factory EntriesList({
  $core.Iterable<CoinOutput>? coinOutputs,
  $core.Iterable<ItemOutput>? itemOutputs,
  $core.Iterable<ItemModifyOutput>? itemModifyOutputs,
}) {
  final _result = create();
  if (coinOutputs != null) {
    _result.coinOutputs.addAll(coinOutputs);
  }
  if (itemOutputs != null) {
    _result.itemOutputs.addAll(itemOutputs);
  }
  if (itemModifyOutputs != null) {
    _result.itemModifyOutputs.addAll(itemModifyOutputs);
  }
  return _result;
}