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