evaluationResult property

Constant? evaluationResult
inherited

Return the result of evaluating this variable's initializer as a compile-time constant expression, or null if this variable is not a 'const' variable, if it does not have an initializer, or if the compilation unit containing the variable has not been resolved.

Implementation

Constant? get evaluationResult => null;
void evaluationResult=(Constant? result)
inherited

Set the result of evaluating this variable's initializer as a compile-time constant expression to the given result.

Implementation

set evaluationResult(Constant? result) {
  throw StateError("Invalid attempt to set a compile-time constant result");
}