resetBrightness method

Future<void> resetBrightness()

Implementation

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