UtilityNetworkAttributeComparison class final

A condition evaluating the value of an UtilityNetworkAttribute on nodes in the network, either to another UtilityNetworkAttribute or to a specific value.

Inheritance

Properties

comparisonOperator → UtilityAttributeComparisonOperator
The type of comparison to do between the source UtilityNetworkAttribute and either the second UtilityNetworkAttribute or the value.
no setter
hashCode → int
The hash code for this object.
no setterinherited
networkAttribute → UtilityNetworkAttribute
The source UtilityNetworkAttribute that otherNetworkAttribute or value is compared to.
no setter
otherNetworkAttribute → UtilityNetworkAttribute?
The UtilityNetworkAttribute being compared against UtilityNetworkAttributeComparison.networkAttribute on each of the nodes.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
The specific value to compare UtilityNetworkAttributeComparison.networkAttribute against for each node in the trace.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

withAttribute({required UtilityNetworkAttribute networkAttribute, required UtilityAttributeComparisonOperator comparisonOperator, required UtilityNetworkAttribute otherNetworkAttribute}) → UtilityNetworkAttributeComparison?
Creates a condition comparing the value of one UtilityNetworkAttribute to another.
withValue({required UtilityNetworkAttribute networkAttribute, required UtilityAttributeComparisonOperator comparisonOperator, required dynamic value}) → UtilityNetworkAttributeComparison?
Creates a condition comparing an UtilityNetworkAttribute to a specific value.