static bool isValidEmailAddress(String? value) { if (value == null) { return true; } RegExp r = new RegExp(emailMatcher); return r.hasMatch(value); }