isFinal property

bool get isFinal

Whether this variable was declared with the 'final' modifier.

Variables that are declared with the 'const' modifier return false even though they are implicitly final.

Implementation

bool get isFinal;