isFinal property

bool get isFinal

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

Returns false for variables that are declared with the 'const' modifier even though they are implicitly final.

Implementation

bool get isFinal;