indexOf method

int indexOf(
  1. MarkerCollection col
)

Get the index of the given collection.

Parameters

  • IN col The markers collection to be searched

Returns

Throws

  • An exception if it fails.

Implementation

int indexOf(final MarkerCollection col) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewMarkerCollections',
    'indexOf',
    args: col._pointerId,
  );

  return resultString['result'];
}