PlaceResultDto

@Serializable
@Xml(name = "PlaceResult")
data class PlaceResultDto(@Element(name = "Place") val place: PlaceDto? = null, @PropertyElement(name = "Complete") val complete: Boolean, @PropertyElement(name = "Probability") val probability: Double?) : Parcelable

Created by Michael Ruppen on 08.04.2024

Serializable and Parcelize annotation is both needed for compose navigation with custom types

Constructors

Link copied to clipboard
constructor(@Element(name = "Place") place: PlaceDto? = null, @PropertyElement(name = "Complete") complete: Boolean, @PropertyElement(name = "Probability") probability: Double?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val place: PlaceDto? = null
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)