CaseZ constructor
- Logic expression,
- List<
CaseItem> items, - {List<
Conditional> ? defaultItem, - 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});