currentLocationOrNull

Gets the current location or null if the location is not available.

Receiver

The Geolocator to get the location from.

Return

The current location or null if the location is not available.