Creates a new counter with an initial value that can be used as part of a document's content.
Represents whether or not the value should be set as a
default value. Set this to true
if you want to set a default value that
you expect to be overwritten by other devices in the network. The default
value is false
.
Increments the counter by amount
, which can be any valid number.
Represents a counter that can be part of a DocumentValue and incremented during document updates.