validateEmail static method
Implementation
static String? validateEmail(
String value, {
String? errorMessage,
}) {
appLogsNS("validateEmail : $value ");
if (value.trim().isEmpty) return enterEmail;
if (hasMatch(pattern: emailPattern, value: value)) return null;
return errorMessage ?? enterValidEmail;
}