onPowerSaveChange abstract method

StreamSubscription<bool> onPowerSaveChange(
  1. void callback(
    1. bool
    ), {
  2. Function? onError,
})

Subscribes to power save mode changes.

Implementation

StreamSubscription<bool> onPowerSaveChange(
  void Function(bool) callback, {
  Function? onError,
});