isConstant method

  1. @override
bool isConstant()
override

Returns true, if this literal is a constant.

Implementation

@override
bool isConstant() => value is Literal ? value.isConstant() : false;