checkPermissions static method

Future<bool?> checkPermissions({
  1. SystemWindowPrefMode prefMode = SystemWindowPrefMode.DEFAULT,
})

Check if system window permission is granted

Implementation

static Future<bool?> checkPermissions(
    {SystemWindowPrefMode prefMode = SystemWindowPrefMode.DEFAULT}) async {
  return await _channel.invokeMethod(
      'checkPermissions', [Commons.getSystemWindowPrefMode(prefMode)]);
}