Get your own website
main.dart:4:22: Error: The type 'int' is not exhaustively matched by the switch cases since it doesn't match 'int()'.
Try adding a wildcard pattern or cases that match 'int()'.
  var name = switch (day) {
                     ^