queryRelatedFeaturesCancelable method
- {required ArcGISFeature feature,
- RelatedQueryParameters? parameters}
Cancelable version of queryRelatedFeatures. See that method for more information.
Implementation
CancelableOperation<List<RelatedFeatureQueryResult>>
queryRelatedFeaturesCancelable(
{required ArcGISFeature feature,
RelatedQueryParameters? parameters}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ArcGISFeatureTable_queryRelatedFeaturesCombined(
_handle,
feature._handle,
parameters?._handle ?? ffi.nullptr,
errorHandler);
});
return taskHandle
.toCancelableOperation((element) => element.getValueAsList()!);
}