decrementById method

Future<R?> decrementById(
  1. Object id,
  2. Map<String, num> values
)

Subtracts positive amounts with the same guards as incrementById.

Implementation

Future<R?> decrementById(Object id, Map<String, num> values) =>
    _changeById(id, values, '-');