copyWith method

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

Implementation

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