isFinal property

bool get isFinal

Whether the class is a final class.

A class is a final class if it has an explicit final modifier, or the class has a final induced modifier and isSealed is true as well. The final modifier prohibits this class from being extended, implemented, or mixed in.

Implementation

bool get isFinal;