CaseZ constructor

CaseZ(
  1. Logic expression,
  2. List<CaseItem> items,
  3. {List<Conditional>? defaultItem,
  4. ConditionalType conditionalType = ConditionalType.none}
)

Whenever an item in items matches expression, it will be executed, but the definition of matches allows for z to be a wildcard.

If none of items match, then defaultItem is executed.

Implementation

CaseZ(super.expression, super.items,
    {super.defaultItem, super.conditionalType});