Returns the constant value of this literal.
Throws StateError if literal is not constant, check before usage with
isConstant().
Source
double getConstantValue() => value;
Returns the constant value of this literal.
Throws StateError if literal is not constant, check before usage with
isConstant().
double getConstantValue() => value;