UserEmail constructor
- String val
Implementation
UserEmail(String val) : super(val) {
if (!EmailValidator.validate(val)) {
throw FormatException('Does not match validation RegExp: `$val`');
}
}
UserEmail(String val) : super(val) {
if (!EmailValidator.validate(val)) {
throw FormatException('Does not match validation RegExp: `$val`');
}
}