isFinal property Null safety

bool isFinal

Return true if the variables in this list were declared with the 'final' modifier.

Variables that are declared with the 'const' modifier will return false even though they are implicitly final. (In other words, this is a syntactic check rather than a semantic check.)


bool get isFinal;