LocationRepository

fun LocationRepository(    context: Context,     defaultLocation: LatLng,     shouldGetPermission: MutableLiveData<Boolean>,     registerListener: (input: LocationUpdateListener) -> Unit)

defaultLocation: the default location to use if no location is available, shouldGetPermission: whether the permission to access the location should be requested, registerListener: a function to register a location listener