OptionValuesCompletionResult.abbr constructor

const OptionValuesCompletionResult.abbr({
  1. required CompletionLevel completionLevel,
  2. required String abbrName,
  3. String? pattern,
  4. bool includeAbbrName = false,
})

A CompletionResult that suggests the values of an option given its optionName and its completionLevel.

Implementation

const OptionValuesCompletionResult.abbr({
  required this.completionLevel,
  required String abbrName,
  this.pattern,
  this.includeAbbrName = false,
})  : isAbbr = true,
      optionName = abbrName;