equals

open operator override fun equals(other: Any?): Boolean(source)

Checks if the object is equal to the current IssueCredential object.

Two IssueCredential objects are considered equal if they meet the following conditions:

  • They are the same instance (reference equality).

  • They belong to the same class.

  • Their id fields have the same value.

  • Their body fields have the same value.

  • Their attachments arrays have the same content.

  • Their thid fields have the same value.

  • Their from fields have the same value.

  • Their to fields have the same value.

  • Their type fields have the same value.

Return

true if the objects are equal, false otherwise.

Parameters

other

The object to compare against the current IssueCredential object.