HoverInformation class
The hover information associated with a specific location.
Constructors
Properties
- containingClassDescription → String?
-
A human-readable description of the class declaring the element being
referenced. This data is omitted if there is no referenced element, or if
the element is not a class member.
final
- containingLibraryName → String?
-
The URI of the containing library, examples here include "dart:core",
"package:.." and file uris represented by the path on disk, "/..". The
data is omitted if the element is declared inside an HTML file.
final
- containingLibraryPath → String?
-
The path to the defining compilation unit of the library in which the
referenced element is declared. This data is omitted if there is no
referenced element, or if the element is declared inside an HTML file.
final
- dartdoc → String?
-
The dartdoc associated with the referenced element. Other than the removal
of the comment delimiters, including leading asterisks in the case of a
block comment, the dartdoc is unprocessed markdown. This data is omitted
if there is no referenced element, or if the element has no dartdoc.
final
- elementDescription → String?
-
A human-readable description of the element being referenced. This data is
omitted if there is no referenced element.
final
- elementKind → String?
-
A human-readable description of the kind of element being referenced (such
as "class" or "function type alias"). This data is omitted if there is no
referenced element.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDeprecated → bool?
-
True if the referenced element is deprecated.
final
- length → int
-
The length of the range of characters that encompasses the cursor position
and has the same hover information as the cursor position.
final
- offset → int
-
The offset of the range of characters that encompasses the cursor position
and has the same hover information as the cursor position.
final
- parameter → String?
-
A human-readable description of the parameter corresponding to the
expression being hovered over. This data is omitted if the location is not
in an argument to a function.
final
- propagatedType → String?
-
The name of the propagated type of the expression. This data is omitted if
the location does not correspond to an expression or if there is no
propagated type information.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- staticType → String?
-
The name of the static type of the expression. This data is omitted if the
location does not correspond to an expression.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
Map m) → HoverInformation