ElementDeclarationResult class

The declaration of an Element.

Constructors

ElementDeclarationResult()

Properties

element Element
The Element that this object describes.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
node AstNode
The node that declares the element. Depending on whether it is returned from ResolvedLibraryResult or ParsedLibraryResult it might be resolved or just parsed.
read-only
parsedUnit ParsedUnitResult
If this declaration is returned from ParsedLibraryResult, the parsed unit that contains the node. Otherwise null.
read-only
resolvedUnit ResolvedUnitResult
If this declaration is returned from ResolvedLibraryResult, the resolved unit that contains the node. Otherwise null.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited