CompletionCaseMatchingMode constructor
CompletionCaseMatchingMode(
- String name
Implementation
factory CompletionCaseMatchingMode(String name) {
switch (name) {
case 'FIRST_CHAR':
return FIRST_CHAR;
case 'ALL_CHARS':
return ALL_CHARS;
case 'NONE':
return NONE;
}
throw Exception('Illegal enum value: $name');
}