email static method
Check if the string is an email
if string is not null and not empty.
Returns null if is valid.
Returns FieldBlocValidatorsErrors.email if is not valid.
Implementation
static String? email(String? string, {String? errorMessage}) {
  final emailRegExp =
      RegExp(r'^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$');
  if (string == null || string.isEmpty || emailRegExp.hasMatch(string)) {
    return null;
  }
  return errorMessage ?? FieldBlocValidatorsErrors.email;
}