override fun equals()

in amazon-chime-sdk/src/main/java/com/amazonaws/services/chime/sdk/meetings/audiovideo/Transcript.kt [40:53]


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

        other as TranscriptResult

        if (!alternatives.contentEquals(other.alternatives)) return false

        return if (languageIdentification == null) {
            other.languageIdentification == null
        } else {
            other.languageIdentification?.let { languageIdentification.contentEquals(it) } ?: false
        }
    }