copyWith method

GetPhoneNumberSIPTrunkResponseModel copyWith({
  1. String? phoneNumber,
  2. String? label,
  3. String? phoneNumberId,
  4. dynamic assignedAgent,
  5. String? provider,
  6. dynamic providerConfig,
})

Implementation

GetPhoneNumberSIPTrunkResponseModel copyWith(
    {String? phoneNumber,
    String? label,
    String? phoneNumberId,
    dynamic assignedAgent,
    String? provider,
    dynamic providerConfig}) {
  return GetPhoneNumberSIPTrunkResponseModel(
      phoneNumber: phoneNumber ?? this.phoneNumber,
      label: label ?? this.label,
      phoneNumberId: phoneNumberId ?? this.phoneNumberId,
      assignedAgent: assignedAgent ?? this.assignedAgent,
      provider: provider ?? this.provider,
      providerConfig: providerConfig ?? this.providerConfig);
}