remove method

void remove()

Disposes of the currently wrapped gmaps.Marker.

Implementation

void remove() {
  if (_marker != null) {
    _infoWindowShown = false;
    _marker!.visible = false;
    _marker!.map = null;
    _marker = null;
  }
}