phone property
String?
get
phone
Implementation
String? get phone {
switch (this) {
case PhoneError.invalid:
return "This is not a valid phone";
default:
return null;
}
}
String? get phone {
switch (this) {
case PhoneError.invalid:
return "This is not a valid phone";
default:
return null;
}
}