toSipRuleTriggerType method

SipRuleTriggerType toSipRuleTriggerType()

Implementation

SipRuleTriggerType toSipRuleTriggerType() {
  switch (this) {
    case 'ToPhoneNumber':
      return SipRuleTriggerType.toPhoneNumber;
    case 'RequestUriHostname':
      return SipRuleTriggerType.requestUriHostname;
  }
  throw Exception('$this is not known in enum SipRuleTriggerType');
}