isLockScreen static method
Checks if the device is locked.
Returns: A Future that completes with a bool value:
true
if the screen is locked,false
otherwise.
Implementation
static Future<bool> isLockScreen() {
return FlyChatFlutterPlatform.instance.isLockScreen();
}