withDefault static method

DefaultedAccessorOption<String> withDefault(
  1. String name, {
  2. required String defaultValue,
  3. RegExp? regex,
  4. String? description,
})

Implementation

static DefaultedAccessorOption<String> withDefault(
  String name, {
  required String defaultValue,
  RegExp? regex,
  String? description,
}) => _DefaultedAccessorStringOption(
  name,
  defaultValue: defaultValue,
  regex: regex,
  description: description,
);