override fun equals()

in src/main/kotlin/org/jetbrains/plugins/template/weatherApp/ui/WeatherAppViewModel.kt [167:177]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as LocationsUIState

        if (selectedIndex != other.selectedIndex) return false
        if (locations != other.locations) return false

        return true
    }