clearFills method

Future<void> clearFills()

Removes all fill from the map.

Change listeners are notified once all fills have been removed on the platform side.

The returned Future completes once listeners have been notified.

Implementation

Future<void> clearFills() async {
  await _mapboxGlPlatform.removeFills(_fills.keys);
  _fills.clear();

  notifyListeners();
}