isExhaustive property

bool get isExhaustive

Whether the class is exhaustive.

A class is exhaustive if it has the property where, in a switch, if you cover all of the subtypes of this element, then the compiler knows that you have covered all possible instances of the type.

Implementation

bool get isExhaustive;