queryRelatedFeatures method

Future<List<RelatedFeatureQueryResult>> queryRelatedFeatures({
  1. required ArcGISFeature feature,
  2. RelatedQueryParameters? parameters,
})

Queries for related features of a given feature in a specific relationship.

The origin and all destination tables must be associated with the same map, either as a feature source for a layer or added to the map via its table collection. Otherwise, the query will return no results.

Parameters:

  • feature — The feature for which to query related features.
  • parameters — Describes the relationship and the query to perform.

Return Value: A Future that returns a List of objects of RelatedFeatureQueryResult type.