LinkedEditSuggestionKind constructor

LinkedEditSuggestionKind(
  1. String name
)

Implementation

factory LinkedEditSuggestionKind(String name) {
  switch (name) {
    case 'METHOD':
      return METHOD;
    case 'PARAMETER':
      return PARAMETER;
    case 'TYPE':
      return TYPE;
    case 'VARIABLE':
      return VARIABLE;
  }
  throw Exception('Illegal enum value: $name');
}