updateMarker method

void updateMarker(
  1. GpsCoordinates gps
)

Removes a marker in gps

Implementation

void updateMarker(GpsCoordinates gps) {
		if(markers.remove(gps)){
		  notifyListeners();
  } else {
    models.home.setMessage(severity: Severity.info, text: "Marker not found");
  }
	}