hasPermissions method
Checks if permissions for modifying the device calendars have been granted
Returns a Result indicating if calendar READ and WRITE permissions have (true) or have not (false) been granted
Implementation
Future<Result<bool>> hasPermissions() async {
return _invokeChannelMethod(
ChannelConstants.methodNameHasPermissions,
);
}