relateFeature method

void relateFeature(
  1. ArcGISFeature feature,
  2. {RelationshipInfo? relationshipInfo}
)

Sets up a relationship between this feature and the provided feature based on the given relationshipInfo. See RelationshipInfo for more details.

Parameters:

  • feature — The feature to which this feature should be related.
  • relationshipInfo — The relationship information used to relate the two features.

Implementation

void relateFeature(ArcGISFeature feature,
    {RelationshipInfo? relationshipInfo}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_ArcGISFeature_relateFeatureWithRelationshipInfo(
        _handle,
        feature._handle,
        relationshipInfo?._handle ?? ffi.nullptr,
        errorHandler);
  });
}