getCargosByRouteNumber

abstract suspend fun getCargosByRouteNumber(routeNumber: String): List<CargoRoomEntity>

Retrieves all cargos from the local database for a specified route number.

Return

A list of cargos for the specified route number.

Parameters

routeNumber

The route number for which to retrieve cargos.