createElement method

UtilityElement createElement({
  1. required ArcGISFeature arcGISFeature,
  2. UtilityTerminal? terminal,
})

Creates an UtilityElement from a feature and an optional UtilityTerminal.

If the optional UtilityTerminal is not supplied, and the feature's UtilityAssetType supports an UtilityTerminalConfiguration, a default UtilityTerminal will be assigned.

Parameters:

Return Value: A new UtilityElement object.