isLockScreen function

Future<bool?> isLockScreen()

Implementation

Future<bool?> isLockScreen() async {
  try {
    return await _channel.invokeMethod('isLockScreen') as bool?;
  } catch (e) {
    print(e.toString());
    return null;
  }
}