DittoDocumentID

data class DittoDocumentID

An identifier for a DittoDocument.

Each DittoDocumentID represents a unique identifier for a document.

Constructors

DittoDocumentID
Link copied to clipboard
fun DittoDocumentID(value: Any)

Creates a new DittoDocumentID.

Types

Companion
Link copied to clipboard
object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
get
Link copied to clipboard
operator fun get(index: Int): DittoDocumentIDPath

Used to specify an index in the array at the preceding key-path specified through the subscripting defined previously. You can subscript the return value further to access a further nested key in the document ID.

operator fun get(key: String): DittoDocumentIDPath

Used to specify a path to a key in the document ID that you can subscript further to access a nested key in the document ID.

hashCode
Link copied to clipboard
open override fun hashCode(): Int
toDebugString
Link copied to clipboard
fun toDebugString(): String

Returns a stringified debug representation of a document identifier.

toString
Link copied to clipboard
open override fun toString(): String

Returns a stringified representation of a document identifier.

Properties

value
Link copied to clipboard
val value: Any?

The underlying value of the document identifier as a native type.