clear method

void clear()

Removes every cached mutation.

Implementation

void clear() {
  while (_mutations.isNotEmpty) {
    remove(_mutations.first);
  }
}