ParkingSlotsUiState

constructor(parkingSlots: List<ParkingSlot>, currentParkingSlot: ParkingSlot?, loading: Boolean)

Parameters

parkingSlots

the parking slots to be shown to the user.

currentParkingSlot

is the current parking slot occupied by the user.

loading

whether the data are still loading.