computeConstantValue abstract method

DartObject? computeConstantValue()

Returns a representation of the value of this variable, forcing the value to be computed if it had not previously been computed, or null if either this variable was not declared with the 'const' modifier or if the value of this variable could not be computed because of errors.

Implementation

DartObject? computeConstantValue();