validateRelationshipConstraintsCancelable method
- {required ArcGISFeature feature}
Cancelable version of validateRelationshipConstraints. See that method for more information.
Implementation
CancelableOperation<RelationshipConstraintViolationType>
validateRelationshipConstraintsCancelable(
{required ArcGISFeature feature}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_ArcGISFeatureTable_validateRelationshipConstraintsAsync(
_handle, feature._handle, errorHandler);
});
return taskHandle.toCancelableOperation(
(element) => element.getValueAsRelationshipConstraintViolationType()!);
}