hasPermission

Check if the current Geolocator has the permissions required for geolocation.

This will always return true if the Locator used by the Geolocator is not a PermissionLocator.

Receiver

The Geolocator to check the permissions of.

Return

True if the Geolocator has the permissions required for geolocation, false otherwise.