increment method

dynamic increment(
  1. num value
)

Returns a special value for use with set() or update() that tells the server to increment the field’s current value by the given value.

Implementation

dynamic increment(num value) {
  throw UnimplementedError('increment() is not implemented');
}