indexOf method
- Marker marker
Return the index of marker in this collection.
Parameters
marker: The marker to search for.
Returns
- The zero-based index of the marker, or -1 if not found.
Implementation
int indexOf(final Marker marker) {
final OperationResult resultString = objectMethod(
pointerId,
'MarkerCollection',
'indexOf',
args: marker.pointerId,
);
return resultString['result'];
}