getKey

abstract fun getKey(): T

Gets the unique identifier of the entity.

Return

null or the unique identifier.