Favorite Record
fun FavoriteRecord(id: String, name: String, descriptionText: String?, address: SearchAddress?, routablePoints: List<RoutablePoint>?, categories: List<String>?, makiIcon: String?, coordinate: Point, metadata: SearchResultMetadata?, newType: String, timestamp: Long = UNKNOWN_TIMESTAMP)
Secondary constructor that accepts newType instead of the deprecated type.
fun FavoriteRecord(id: String, name: String, descriptionText: String?, address: SearchAddress?, routablePoints: List<RoutablePoint>?, categories: List<String>?, makiIcon: String?, coordinate: Point, type: SearchResultType, metadata: SearchResultMetadata?, newType: String = newSearchResultTypeToFromOld(type), timestamp: Long = UNKNOWN_TIMESTAMP)
Deprecated
Use constructor that don't accept deprecated type