queryWakeState property

Future<bool> queryWakeState

Gets whether it is in the wake-up state. If the result is true, it means that it is in the awake state, otherwise, it is not awake.

Implementation

Future<bool> get queryWakeState {
  return _platform.queryWakeState;
}