ValuePriority class

Ordered principle for value conflict resolution.

Annotations
  • @immutable

Constructors

ValuePriority({required String id, required int rank, required String higherValue, required String lowerValue, required String rationale, List<String>? conditions})
const
ValuePriority.fromJson(Map<String, dynamic> json)
factory

Properties

conditions List<String>?
Context-dependent conditions for priority shifts.
final
display String
Human-readable format: "higherValue > lowerValue".
no setter
hashCode int
The hash code for this object.
no setterinherited
higherValue String
Value that takes precedence.
final
id String
Unique identifier.
final
isConditional bool
Whether this priority is context-dependent.
no setter
lowerValue String
Value that yields.
final
rank int
Rank order (1 = highest priority).
final
rationale String
Justification for this ordering.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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