SidecarContext class abstract
A snapshot of states from the current Sidecar analysis context.
Constructors
Properties
- analysisOptions → AnalysisOptions
-
Return the package_config.json from which this context was created.
The analysis options used to control the way the code is analyzed.
no setter
- currentSession → AnalysisSession
-
Return the currently active analysis session.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdkRoot → Folder?
-
The root directory of the SDK against which files of this context are
analyzed, or
null
if the SDK is not directory based.no setter - sidecarSpec → SidecarSpec
-
no setter
- targetRoot → Uri
-
Current file.
Return the context root from which this context was created.
no setter
Methods
-
applyPendingFileChanges(
) → Future< List< String> > - Return a Future that completes after pending file changes are applied, so that currentSession can be used to compute results.
-
changeFile(
String path) → void -
Schedules the file with the
path
to be read before producing new analysis results. -
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