isConst property

bool get isConst

Whether this literal is a constant expression.

It is a constant expression if either the keyword const was explicitly provided or because no keyword was provided and this expression occurs in a constant context.

Implementation

bool get isConst;