AddAndEditRouteUiState

data class AddAndEditRouteUiState(val routeObjectId: ObjectId? = null, val name: String = "", val description: String = "", val nameError: Boolean = false, val descriptionError: Boolean = false, val navigateToMarkersAndRoutes: Boolean = false, val doneActionCompleted: Boolean = false, val errorMessage: String? = null, val showDoneButton: Boolean = false, val actionType: ActionType = ActionType.NONE, var routeMembers: List<LocationDescription> = emptyList(), val markers: List<LocationDescription> = emptyList())

Constructors

Link copied to clipboard
constructor(routeObjectId: ObjectId? = null, name: String = "", description: String = "", nameError: Boolean = false, descriptionError: Boolean = false, navigateToMarkersAndRoutes: Boolean = false, doneActionCompleted: Boolean = false, errorMessage: String? = null, showDoneButton: Boolean = false, actionType: ActionType = ActionType.NONE, routeMembers: List<LocationDescription> = emptyList(), markers: List<LocationDescription> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val errorMessage: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val nameError: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val routeObjectId: ObjectId? = null
Link copied to clipboard
val showDoneButton: Boolean = false