isFinal property

  1. @override
bool isFinal
override

Return true if this parameter was declared with the 'final' modifier.

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

Implementation

@override
bool get isFinal => keyword?.keyword == Keyword.FINAL;