queryRelatedFeaturesWithFieldOptionsCancelable method
- {required ArcGISFeature feature,
- required RelatedQueryParameters parameters,
- required QueryFeatureFields queryFeatureFields}
Cancelable version of queryRelatedFeaturesWithFieldOptions. See that method for more information.
Implementation
CancelableOperation<List<RelatedFeatureQueryResult>>
queryRelatedFeaturesWithFieldOptionsCancelable(
{required ArcGISFeature feature,
required RelatedQueryParameters parameters,
required QueryFeatureFields queryFeatureFields}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_ServiceFeatureTable_queryRelatedFeaturesWithFieldOptions(
_handle,
feature._handle,
parameters._handle,
queryFeatureFields.coreValue,
errorHandler);
});
return taskHandle
.toCancelableOperation((element) => element.getValueAsList()!);
}