toRuntime method
Implementation
Runtime toRuntime() {
switch (this) {
case 'nodejs':
return Runtime.nodejs;
}
throw Exception('$this is not known in enum Runtime');
}
Runtime toRuntime() {
switch (this) {
case 'nodejs':
return Runtime.nodejs;
}
throw Exception('$this is not known in enum Runtime');
}