Skip to content

Commit 214dc6e

Browse files
committed
Fix info about unneeded default case
This info seems to be introduced with Dart 3.6 which is why it did not get reported before.
1 parent 92953fb commit 214dc6e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/validation.dart

-4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ class UuidValidation {
5050
final match = regex.hasMatch(fromString.toLowerCase());
5151
return match;
5252
}
53-
default:
54-
{
55-
throw Exception('`$validationMode` is an invalid ValidationMode.');
56-
}
5753
}
5854
}
5955

0 commit comments

Comments
 (0)