isLockScreen function

Future<bool?> isLockScreen()

Implementation

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