isExhaustive property

bool isExhaustive

Return true if this element 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;