PatchOperation.decr constructor

PatchOperation.decr(
  1. String path,
  2. num value
)

Creates a new "PatchOperationType.decr" patch operation. This is implemented as a "PatchOperationType.incr" operation with the opposite value.

Implementation

PatchOperation.decr(String path, num value)
    : this._(PatchOperationType.incr, path, -value);