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