parse static method
Implementation
static HeliumHotspotMode parse(String s) {
final mode = _lookup[s];
if (mode != null) {
return mode;
}
throw Exception('Unknown hotspot mode "$s"');
}
static HeliumHotspotMode parse(String s) {
final mode = _lookup[s];
if (mode != null) {
return mode;
}
throw Exception('Unknown hotspot mode "$s"');
}