constantValue property

DartObject constantValue
@Deprecated('Use computeConstantValue() instead')

Return a representation of the value of this variable.

Return 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

@Deprecated('Use computeConstantValue() instead')
DartObject get constantValue;