isEmail top-level property

Matcher isEmail
final

Asserts that a String complies to the RFC 5322 e-mail standard.

Implementation

final Matcher isEmail = predicate(
    (value) => value is String && _email.hasMatch(value),
    'a valid e-mail address')