Enable no_default_cases lint (#91530)
This commit is contained in:
@@ -74,8 +74,6 @@ abstract class DeviceDiscovery {
|
||||
case DeviceOperatingSystem.fake:
|
||||
print('Looking for fake devices! You should not see this in release builds.');
|
||||
return FakeDeviceDiscovery();
|
||||
default:
|
||||
throw DeviceException('Unsupported device operating system: $deviceOperatingSystem');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user