hasPermissions method

Future<bool> hasPermissions()

Checks if device calendar READ & WRITE permissions are granted.

Implementation

Future<bool> hasPermissions() async => (await plugin.hasPermissions()).data ?? false;