PhoneNumber.withValue constructor
PhoneNumber.withValue(
- String value
PhoneNumber.withValue the constructor that should be used in all useCases.
Implementation
factory PhoneNumber.withValue(String value) {
return PhoneNumber._(
validatePhoneNumber(value),
);
}