isEmail top-level property
Asserts that a String
complies to the RFC 5322 e-mail standard.
Implementation
final Matcher isEmail = predicate(
(dynamic value) => value is String && _email.hasMatch(value),
'a valid e-mail address');
Asserts that a String
complies to the RFC 5322 e-mail standard.
final Matcher isEmail = predicate(
(dynamic value) => value is String && _email.hasMatch(value),
'a valid e-mail address');