AnalysisHighlightsParams class
analysis.highlights params
{ "file": FilePath "regions": List
Clients may not extend, implement or mix-in this class.
Constructors
-
AnalysisHighlightsParams(String file, List<
HighlightRegion> regions) - AnalysisHighlightsParams.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
- AnalysisHighlightsParams.fromNotification(Notification notification)
-
factory
Properties
- file ↔ String
-
The file containing the highlight regions.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
-
regions
↔ List<
HighlightRegion> -
The highlight regions contained in the file. Each highlight region
represents a particular syntactic or semantic meaning associated with
some range. Note that the highlight regions that are returned can overlap
other highlight regions if there is more than one meaning associated with
a particular region.
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, Object> - Returns a JSON presentation of the object.
-
toNotification(
) → Notification -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override