copyWith method

ConversationHistorySIPTrunkingPhoneCallModel copyWith({
  1. ConversationHistorySIPTrunkingPhoneCallModelDirection? direction,
  2. String? phoneNumberId,
  3. String? agentNumber,
  4. String? externalNumber,
  5. String? type,
  6. String? callSid,
})

Implementation

ConversationHistorySIPTrunkingPhoneCallModel copyWith(
    {enums.ConversationHistorySIPTrunkingPhoneCallModelDirection? direction,
    String? phoneNumberId,
    String? agentNumber,
    String? externalNumber,
    String? type,
    String? callSid}) {
  return ConversationHistorySIPTrunkingPhoneCallModel(
      direction: direction ?? this.direction,
      phoneNumberId: phoneNumberId ?? this.phoneNumberId,
      agentNumber: agentNumber ?? this.agentNumber,
      externalNumber: externalNumber ?? this.externalNumber,
      type: type ?? this.type,
      callSid: callSid ?? this.callSid);
}