DiagnosticNotice class final
Represents a diagnostic issue, warning, or notice about the container state.
Constructors
- DiagnosticNotice({required String severity, required String title, required String message, })
-
Creates a new DiagnosticNotice.
const
-
DiagnosticNotice.fromJson(Map<
String, dynamic> json) -
Deserializes a DiagnosticNotice from a JSON map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Detailed description and actionable guidance.
final
-
Optional related scope name or ID.
final
-
Optional related type name or registration ID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → String
-
Severity of this notice ('info', 'warning', 'error').
final
- title → String
-
Short headline describing the issue.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes this notice into a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited