getCurrentLocation

abstract suspend fun getCurrentLocation(): Location?(source)

Requests the current location, if permissions and hardware allow. Returns null if unavailable or if permissions are not granted.