isFinal property
Return true
if this variable was declared with the 'final' modifier.
Variables that are declared with the 'const' modifier will return false
even though they are implicitly final.
Implementation
@override
bool get isFinal {
return hasModifier(Modifier.FINAL);
}
Set whether this variable is final.
Implementation
set isFinal(bool isFinal) {
setModifier(Modifier.FINAL, isFinal);
}