DiagnosedCause class
A structured likely cause tagged with its certainty level.
- Implemented types
Constructors
- DiagnosedCause({required String description, required CauseCertainty certainty, required String rationale})
-
const
-
DiagnosedCause.fromJson(Map<
String, dynamic> json) -
factory
Properties
- certainty → CauseCertainty
-
Explicit certainty level (confirmed, probable, possible).
final
- description → String
-
Clear description of the diagnosed cause.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rationale → String
-
Specific reasoning supporting this cause assessment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareTo(
DiagnosedCause other) → int -
Compares this object to another object.
override
-
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