conversationHistorySIPTrunkingPhoneCallModelDirectionNullableListFromJson function
List<ConversationHistorySIPTrunkingPhoneCallModelDirection> ?
conversationHistorySIPTrunkingPhoneCallModelDirectionNullableListFromJson(
- List? conversationHistorySIPTrunkingPhoneCallModelDirection, [
- List<
ConversationHistorySIPTrunkingPhoneCallModelDirection> ? defaultValue
Implementation
List<enums.ConversationHistorySIPTrunkingPhoneCallModelDirection>?
conversationHistorySIPTrunkingPhoneCallModelDirectionNullableListFromJson(
List? conversationHistorySIPTrunkingPhoneCallModelDirection, [
List<enums.ConversationHistorySIPTrunkingPhoneCallModelDirection>?
defaultValue,
]) {
if (conversationHistorySIPTrunkingPhoneCallModelDirection == null) {
return defaultValue;
}
return conversationHistorySIPTrunkingPhoneCallModelDirection
.map((e) => conversationHistorySIPTrunkingPhoneCallModelDirectionFromJson(
e.toString()))
.toList();
}