Note: Switch statements in Dart are intended for limited circumstances, such as in interpreters or scanners.

    Use a default clause to execute code when no clause matches:

    However, Dart does support empty case clauses, allowing a form offall-through:

    A clause can have local variables, which are visible only insidethe scope of that clause.