Firestore has recently launched a new feature to increment and decrement the integer values atomically.
I can increment the integer value using
For instance,
FieldValue.increment(50)
But how to decrement ?
I tried using FieldValue.decrement(50)
But there is no method like decrement in FieldValue.
It's not working.