The value of the counter.
Increments the counter by
amount, which can be any valid number.
Only valid within the
update closure of
otherwise an exception is thrown.
Represents a mutable CRDT counter that can be incremented by a specific amount while updating a document.
This class can't be instantiated directly, it's returned automatically for any counter property within an update block via counter.