copyWith method

DockerSecret copyWith({
  1. String? username,
  2. String? password,
  3. String? registry,
  4. String? email,
})

Implementation

DockerSecret copyWith({
  String? username,
  String? password,
  String? registry,
  String? email,
}) => DockerSecret(
  username: username ?? this.username,
  password: password ?? this.password,
  registry: registry ?? this.registry,
  email: email ?? this.email,
);