contains method

bool contains(
  1. MarkerCollection col
)

Check if the specified marker collection exists in this collection.

Parameters

  • IN col The markers collection to be searched.

Returns

  • True if the collection is in the collection, false otherwise.

Throws

  • An exception if it fails.

Implementation

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

  return resultString['result'];
}