EmailValidator constructor
const
EmailValidator({})
Implementation
const EmailValidator({
String? fieldName,
String? errorMessage,
this.allowTopLevelDomains = false,
this.allowInternational = true,
}) : super(
fieldName: fieldName,
message: errorMessage ?? 'value should be a valid email',
);