AnalysisClosingLabelsParams class

analysis.closingLabels params

{ "file": FilePath "labels": List

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

Constructors

AnalysisClosingLabelsParams(String file, List<ClosingLabel> labels)
AnalysisClosingLabelsParams.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory
AnalysisClosingLabelsParams.fromNotification(Notification notification)
factory

Properties

file String
The file the closing labels relate to.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
labels List<ClosingLabel>
Closing labels relevant to the file. Each item represents a useful label associated with some range with may be useful to display to the user within the editor at the end of the range to indicate what construct is closed at that location. Closing labels include constructor/method calls and List arguments that span multiple lines. Note that the ranges that are returned can overlap each other because they may be associated with constructs that can be nested.
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