is Driver Name Valid
Checks if the entered driver name and license plate are valid and performs the necessary actions.
Validates the driver name and license plate using various validation methods. Updates the TransportUiState with any validation errors and invokes the updateLocalTransport method if there are no validation errors.
Parameters
has Driver Name
true if the driver name is provided; otherwise, false.
has License Plate
true if the license plate is provided; otherwise, false.