addAllUnique method

void addAllUnique(
  1. String key,
  2. Iterable values
)

Atomically add values to the array key, only if not already present.

The position of the insert is not guaranteed.

Implementation

void addAllUnique(String key, Iterable values) {
  if (isNullOrEmpty(key)) {
    throw ArgumentError.notNull('key');
  }
  _LCAddUniqueOperation op = new _LCAddUniqueOperation(values);
  _applyOperation(key, op);
}