conversationHistorySIPTrunkingPhoneCallModelDirectionFromJson function
ConversationHistorySIPTrunkingPhoneCallModelDirection
conversationHistorySIPTrunkingPhoneCallModelDirectionFromJson(
- Object? conversationHistorySIPTrunkingPhoneCallModelDirection, [
- ConversationHistorySIPTrunkingPhoneCallModelDirection? defaultValue
Implementation
enums.ConversationHistorySIPTrunkingPhoneCallModelDirection
conversationHistorySIPTrunkingPhoneCallModelDirectionFromJson(
Object? conversationHistorySIPTrunkingPhoneCallModelDirection, [
enums.ConversationHistorySIPTrunkingPhoneCallModelDirection? defaultValue,
]) {
return enums.ConversationHistorySIPTrunkingPhoneCallModelDirection.values
.firstWhereOrNull((e) =>
e.value ==
conversationHistorySIPTrunkingPhoneCallModelDirection) ??
defaultValue ??
enums.ConversationHistorySIPTrunkingPhoneCallModelDirection
.swaggerGeneratedUnknown;
}