isDefault property

bool get isDefault

True if this is a default clause, and not a case clause.

Implementation

bool get isDefault => expression == null;