onUpdateTransportState

Updates the TransportUiState based on the provided TransportChangeEvent.

Modifies the TransportUiState based on the type of event received, such as changes in license plate, driver name, route number, cargo number, original cargo number, selected image, or clearing cargo number error.

Parameters

event

The TransportChangeEvent to process and update the state.