ResultState enum

An indication of whether an analysis result is valid, and if not why.

Inheritance
Annotations
  • @Deprecated('Check for specific Result subtypes instead')

Constructors

ResultState()
const

Values

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.

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.

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.

VALID → const ResultState

An indication that analysis completed normally and the results are valid.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<ResultState>
A constant List of the values in this enum, in order of their declaration.