DartAssistContext class final

An object used to provide context information for Dart assist contributors.

Constructors

DartAssistContext(InstrumentationService instrumentationService, ChangeWorkspace workspace, ResolvedLibraryResult libraryResult, ResolvedUnitResult unitResult, int selectionOffset, int selectionLength)

Properties

hashCode int
The hash code for this object.
no setterinherited
instrumentationService → InstrumentationService
The instrumentation service used to report errors that prevent a fix from being composed.
final
libraryResult → ResolvedLibraryResult
The resolved library result in which an assist operates.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionLength int
The length of the selection.
final
selectionOffset int
The starting offset of the selection.
final
unitResult → ResolvedUnitResult
The unit result in which an assist operates.
final
workspace → ChangeWorkspace
The workspace in which an assist operates.
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