resetBrightness method
Implementation
Future<void> resetBrightness() async {
if (!windows) {
try {
await ScreenBrightness().resetScreenBrightness();
} catch (e) {
print(e);
throw 'Failed to reset brightness';
}
}
}
Future<void> resetBrightness() async {
if (!windows) {
try {
await ScreenBrightness().resetScreenBrightness();
} catch (e) {
print(e);
throw 'Failed to reset brightness';
}
}
}