ResultState enum Null safety
An indication of whether an analysis result is valid, and if not why.
Constants
- INVALID_FILE_TYPE → const ResultState
-
An indication that analysis could not be performed because the path represents a file of a type that cannot be analyzed.
const ResultState(0)
- NOT_A_FILE → const ResultState
-
An indication that analysis could not be performed because the path does not represent a file. It might represent something else, such as a directory, or it might not represent anything.
const ResultState(1)
- NOT_FILE_OF_URI → const ResultState
-
An indication that analysis could not be performed because the path does not represent the corresponding URI.
This usually happens in Bazel workspaces, when a URI is resolved to a generated file, but there is also a writable file to which this URI would be resolved, if there were no generated file.
const ResultState(2)
- VALID → const ResultState
-
An indication that analysis completed normally and the results are valid.
const ResultState(3)
-
values
→ const List<
ResultState> -
A constant List of the values in this enum, in order of their declaration.
const List<
ResultState>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited