removePoint method
Removes the point
from the globe.
The id
parameter represents the id of the point to be removed.
Example usage:
controller.removePoint('id');
Implementation
void removePoint(String id) {
points.removeWhere((element) => element.id == id);
notifyListeners();
}