removeAll static method

dynamic removeAll()

Use this method to remove all widgets what follow the component.

Implementation

static removeAll() {
  _mapOverlayEntry.forEach((key, value) {
    value.remove();
  });
  _mapOverlayEntry.clear();
}