toQuickConnectType method

QuickConnectType toQuickConnectType()

Implementation

QuickConnectType toQuickConnectType() {
  switch (this) {
    case 'USER':
      return QuickConnectType.user;
    case 'QUEUE':
      return QuickConnectType.queue;
    case 'PHONE_NUMBER':
      return QuickConnectType.phoneNumber;
  }
  throw Exception('$this is not known in enum QuickConnectType');
}