toValue method
Implementation
String toValue() {
switch (this) {
case PhoneType.softPhone:
return 'SOFT_PHONE';
case PhoneType.deskPhone:
return 'DESK_PHONE';
}
}
String toValue() {
switch (this) {
case PhoneType.softPhone:
return 'SOFT_PHONE';
case PhoneType.deskPhone:
return 'DESK_PHONE';
}
}