copyWith method

ConvAIStoredSecretDependencies copyWith({
  1. List<Object>? tools,
  2. List<Object>? agentTools,
  3. List<SecretDependencyType>? others,
  4. List<DependentPhoneNumberIdentifier>? phoneNumbers,
})

Implementation

ConvAIStoredSecretDependencies copyWith(
    {List<Object>? tools,
    List<Object>? agentTools,
    List<enums.SecretDependencyType>? others,
    List<DependentPhoneNumberIdentifier>? phoneNumbers}) {
  return ConvAIStoredSecretDependencies(
      tools: tools ?? this.tools,
      agentTools: agentTools ?? this.agentTools,
      others: others ?? this.others,
      phoneNumbers: phoneNumbers ?? this.phoneNumbers);
}