toDefinitionLanguage method

DefinitionLanguage toDefinitionLanguage()

Implementation

DefinitionLanguage toDefinitionLanguage() {
  switch (this) {
    case 'GRAPHQL':
      return DefinitionLanguage.graphql;
  }
  throw Exception('$this is not known in enum DefinitionLanguage');
}