hasCalendarPermissions method
Checks if calendar permissions are granted.
Returns true if permissions are granted, false otherwise.
Implementation
@override
Future<bool> hasCalendarPermissions() async {
try {
final result =
await methodChannel.invokeMethod<bool>('hasCalendarPermissions');
return result ?? false;
} on PlatformException catch (e) {
debugPrint('Error checking calendar permissions: ${e.message}');
return false;
}
}