getAssociations method

Future<List<UtilityAssociation>> getAssociations({
  1. required UtilityElement element,
  2. UtilityAssociationType? type,
})

Returns a list of all UtilityAssociation objects of type UtilityAssociationType present in the geodatabase for a given UtilityElement.

The method does not return a complete picture of connectivity; features that are connected by geometric coincidence are not returned. Note that the list returned can contain associations that have not yet been validated and are therefore not yet included in the topological index.

Parameters:

Return Value: A list of all the UtilityAssociation objects of the specified type if available. Otherwise, an empty list is returned.