isDefault property
bool
get
isDefault
True if this is a default clause, and not a case clause.
Implementation
bool get isDefault => expression == null;
True if this is a default clause, and not a case clause.
bool get isDefault => expression == null;