withDefault static method

DefaultedRepeatableOption<double> withDefault(
  1. String name, {
  2. required List<double> defaultValue,
  3. double? min,
  4. double? max,
  5. double? step,
  6. String? short,
  7. String? description,
  8. bool hidden = false,
})

Implementation

static DefaultedRepeatableOption<double> withDefault(
  String name, {
  required List<double> defaultValue,
  double? min,
  double? max,
  double? step,
  String? short,
  String? description,
  bool hidden = false,
}) => _DefaultedRepeatableDoubleOption(
  name,
  defaultValue: defaultValue,
  min: min,
  max: max,
  step: step,
  short: short,
  description: description,
  hidden: hidden,
);