isConst property
Whether the variable was declared with the 'const' modifier.
Implementation
@override
bool get isConst {
return hasModifier(Modifier.CONST);
}
Set whether this variable is const.
Implementation
set isConst(bool isConst) {
setModifier(Modifier.CONST, isConst);
}