wakeUpScreen static method
void
wakeUpScreen()
Wake up the screen of a device that is turned off.
Implementation
static void wakeUpScreen() {
// This function only works on Android.
if (!Platform.isAndroid) return;
_methodChannel.invokeMethod('wakeUpScreen');
}