DoubleParam constructor

DoubleParam({
  1. String? key,
  2. Iterable<DoubleWeightRange>? weightRanges,
  3. String? program,
})

Implementation

factory DoubleParam({
  $core.String? key,
  $core.Iterable<DoubleWeightRange>? weightRanges,
  $core.String? program,
}) {
  final _result = create();
  if (key != null) {
    _result.key = key;
  }
  if (weightRanges != null) {
    _result.weightRanges.addAll(weightRanges);
  }
  if (program != null) {
    _result.program = program;
  }
  return _result;
}