WeightedOutputs constructor

WeightedOutputs({
  1. Iterable<String>? entryIds,
  2. Int64? weight,
})

Implementation

factory WeightedOutputs({
  $core.Iterable<$core.String>? entryIds,
  $fixnum.Int64? weight,
}) {
  final _result = create();
  if (entryIds != null) {
    _result.entryIds.addAll(entryIds);
  }
  if (weight != null) {
    _result.weight = weight;
  }
  return _result;
}