Diagnostic class
Represents a diagnostic message (error or warning)
Constructors
- Diagnostic({String? kind, String? location, String? message})
- Diagnostic.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind ↔ String?
-
The kind of diagnostic information provided.
Possible string values are:
getter/setter pair
- location ↔ String?
-
File name and line number of the error or warning.
getter/setter pair
- message ↔ String?
-
Message describing the error or warning.
getter/setter pair
- 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