DocImport class final
A documentation import, found in a doc comment.
Documentation imports are declared with @docImport
at the start of a line
of a documentation comment, followed by regular import elements (URI,
optional prefix, optional combinators), ending with a semicolon.
- Annotations
-
- @experimental
Constructors
- DocImport({required int offset, required ImportDirective import})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- import ↔ ImportDirective
-
getter/setter pair
- offset ↔ int
-
The offset of the starting text, '@docImport'.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited