ChartWorkbenchSourceState class

Immutable generated source and diagnostics owned by a chart workbench.

Annotations

Constructors

ChartWorkbenchSourceState({ChartWorkbenchSourcePhase phase = ChartWorkbenchSourcePhase.uninitialized, ChartSourceForm form = ChartSourceForm.config, ChartDocumentSnapshot? snapshot, ChartGeneratedSource? generated, bool isStale = false, List<ChartArtifactWarning> warnings = const [], ChartArtifactError? error})
const

Properties

error ChartArtifactError?
final
form ChartSourceForm
The form generated was emitted in.
final
generated ChartGeneratedSource?
final
hashCode int
The hash code for this object.
no setterinherited
hasUsableSource bool
no setter
isLoading bool
no setter
isStale bool
final
phase ChartWorkbenchSourcePhase
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot ChartDocumentSnapshot?
final
warnings List<ChartArtifactWarning>
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