ViewParkingSlot

Finds the information of a parking slot identified by Params.id

Constructors

Link copied to clipboard
constructor(parkingSlotRepository: ParkingSlotRepository)

Types

Link copied to clipboard
data class Params(val id: String)

Functions

Link copied to clipboard
suspend operator fun invoke(params: ViewParkingSlot.Params): Either<AppError, ParkingSlot>
Link copied to clipboard
suspend operator fun <Res> AsyncUseCase<Unit, Res>.invoke(): Res

Utility method to avoid passing Unit argument to invoke