Returns true, if this literal is a constant.
@override bool isConstant() => value is Literal ? value.isConstant() : false;