RefactoringProblem class

RefactoringProblem

{ "severity": RefactoringProblemSeverity "message": String "location": optional Location }

Clients may not extend, implement or mix-in this class.

Constructors

RefactoringProblem(RefactoringProblemSeverity severity, String message, {Location? location})
RefactoringProblem.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json, {ClientUriConverter? clientUriConverter})
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
location Location?
The location of the problem being represented. This field is omitted unless there is a specific location associated with the problem (such as a location where an element being renamed will be shadowed).
getter/setter pair
message String
A human-readable description of the problem being represented.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity RefactoringProblemSeverity
The severity of the problem being represented.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ClientUriConverter? clientUriConverter}) Map<String, Object>
Returns a JSON presentation of the object.
toString() String
A string representation of this object.
override

Operators

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