override fun equals()

in app/src/main/java/com/amazonaws/ivs/player/ecommerce/models/ProductModel.kt [23:35]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false
        other as ProductModel
        if (id != other.id) return false
        if (name != other.name) return false
        if (imageUrl != other.imageUrl) return false
        if (imageLargeUrl != other.imageLargeUrl) return false
        if (price != other.price) return false
        if (discountedPrice != other.discountedPrice) return false
        if (longDescription != other.longDescription) return false
        return true
    }