toOutputType method
Implementation
OutputType toOutputType() {
switch (this) {
case 'SDL':
return OutputType.sdl;
case 'JSON':
return OutputType.json;
}
throw Exception('$this is not known in enum OutputType');
}
OutputType toOutputType() {
switch (this) {
case 'SDL':
return OutputType.sdl;
case 'JSON':
return OutputType.json;
}
throw Exception('$this is not known in enum OutputType');
}