bool isConstant()

Returns true, if this literal is a constant.

Source

bool isConstant() => false;