update method
Updates the options of the wrapped gmaps.Marker
object.
This cannot be called after remove.
Implementation
void update(
gmaps.MarkerOptions options, {
HtmlElement? newInfoWindowContent,
}) {
assert(_marker != null, 'Cannot `update` Marker after calling `remove`.');
_marker!.options = options;
if (_infoWindow != null && newInfoWindowContent != null) {
_infoWindow!.content = newInfoWindowContent;
}
}