toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Capability.voice:
      return 'Voice';
    case Capability.sms:
      return 'SMS';
  }
}