email-validator.dart
email-validator.dart copied to clipboard
Add TLD validation based on IANA TLD list
This pull request solves the issue #26 by adding a 3rd argument to the validate method.
The new argument is optional and has a default value of false so it does not bring any breaking changes.
I'm not convinced that this is the best way to do it, but it's quick and does not require any network request.