getMarker method

Marker? getMarker(
  1. String markerName
)

Implementation

Marker? getMarker(String markerName) {
  for (var i = 0; i < markers.length; i++) {
    var marker = markers[i];
    if (marker.matchesName(markerName)) {
      return marker;
    }
  }
  return null;
}