AnalysisGetHoverResult class

analysis.getHover result

{ "hovers": List

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

Constructors

AnalysisGetHoverResult(List<HoverInformation> hovers)
AnalysisGetHoverResult.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory
AnalysisGetHoverResult.fromResponse(Response response)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
hovers List<HoverInformation>
The hover information associated with the location. The list will be empty if no information could be determined for the location. The list can contain multiple items if the file is being analyzed in multiple contexts in conflicting ways (such as a part that is included in multiple libraries).
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.
toResponse(String id) Response
Return a response whose result data is this object for the request with the given id.
toString() String
A string representation of this object.
override

Operators

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