ditto-lib / live.ditto / DittoMutableDocumentPath / replaceWithCounter

replaceWithCounter

@JvmOverloads fun replaceWithCounter(isDefault: Boolean = false): Unit

Replace a value at the document's key defined by the preceding subscripting with a counter.

Parameters

isDefault - represents whether or not the value is being replaced with a counter that should serve as a default value.