value library Null safety

The interface used to access the result of constant evaluation.

Because the analyzer does not have any of the code under analysis loaded, it does not do real evaluation. Instead it performs a symbolic computation and presents those results through this interface.

Instances of these constant values are accessed through the element model.

Classes

DartObject
A representation of the value of a compile-time constant expression. [...]