email-validator.dart icon indicating copy to clipboard operation
email-validator.dart copied to clipboard

Add TLD validation based on IANA TLD list

Open vincentdh opened this issue 3 years ago • 0 comments

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.

vincentdh avatar Jun 22 '21 17:06 vincentdh