evaluationResult property
EvaluationResultImpl?
get
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
EvaluationResultImpl? get evaluationResult => null;
set
evaluationResult
(EvaluationResultImpl? result)
inherited
Set the result of evaluating this variable's initializer as a compile-time
constant expression to the given result
.
Implementation
set evaluationResult(EvaluationResultImpl? result) {
throw StateError("Invalid attempt to set a compile-time constant result");
}