copyWith method

ConvAIWorkspaceStoredSecretConfig copyWith({
  1. String? type,
  2. String? secretId,
  3. String? name,
  4. ConvAIStoredSecretDependencies? usedBy,
})

Implementation

ConvAIWorkspaceStoredSecretConfig copyWith(
    {String? type,
    String? secretId,
    String? name,
    ConvAIStoredSecretDependencies? usedBy}) {
  return ConvAIWorkspaceStoredSecretConfig(
      type: type ?? this.type,
      secretId: secretId ?? this.secretId,
      name: name ?? this.name,
      usedBy: usedBy ?? this.usedBy);
}