clearLines method
Removes all polylines
from the map.
Change listeners are notified once all lines have been removed on the platform side.
The returned Future completes once listeners have been notified.
Implementation
@Deprecated('Use clearPolylines instead')
Future<void> clearLines() async {
await polylineManager?.clear();
notifyListeners();
}