isFinal property

bool get isFinal

Whether the 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

bool get isFinal;