removeAll method

Future<void> removeAll(
  1. Iterable<T> annotations
)

Removes multiple annotations from the map

Implementation

Future<void> removeAll(Iterable<T> annotations) async {
  for (var a in annotations) {
    _idToAnnotation.remove(a.id);
  }
  await _setAll();
}