isConst property

bool get isConst

Whether this dot shorthand constructor invocation will be evaluated at compile-time, either because the keyword const was explicitly provided or because no keyword was provided and this expression is in a constant context.

Implementation

bool get isConst;