withValue static method

UtilityNetworkAttributeComparison? withValue({
  1. required UtilityNetworkAttribute networkAttribute,
  2. required UtilityAttributeComparisonOperator comparisonOperator,
  3. required dynamic value,
})

Creates a condition comparing an UtilityNetworkAttribute to a specific value.

Parameters:

  • networkAttribute — The source UtilityNetworkAttribute that the value is compared to.
  • comparisonOperator — The type of comparison to do between the source UtilityNetworkAttribute and the value.
  • value — The specific value to compare networkAttribute against for each node in the trace.