indexOf method
- {required ArcGISPoint point}
Retrieves the position of the point in the immutable point collection. The first point that is equal to the supplied point is returned.
Parameters:
point
— The point to find.
Return Value: The position of the point in the collection, -1 otherwise.
Implementation
int indexOf({required ArcGISPoint point}) {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ImmutablePointCollection_indexOf(
_handle, point._handle, errorHandler);
});
}