Skip to content

Commit

Permalink
Fix info about unneeded default case
Browse files Browse the repository at this point in the history
This info seems to be introduced with Dart 3.6 which is why it did not get reported before.
  • Loading branch information
julemand101 committed Nov 19, 2024
1 parent 92953fb commit 214dc6e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/validation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ class UuidValidation {
final match = regex.hasMatch(fromString.toLowerCase());
return match;
}
default:
{
throw Exception('`$validationMode` is an invalid ValidationMode.');
}
}
}

Expand Down

0 comments on commit 214dc6e

Please sign in to comment.