Check have permission or not
static Future<bool?> get hasPermission async { return await _methodChannel.invokeMethod('plugin.hasPermission'); }