toValue method

String toValue()

Implementation

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