increment static method

FieldValue 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

static FieldValue increment(num value) =>
    FieldValue._(_factory.increment(value));