copyWith method

SecuritySchemeWithProjects copyWith({
  1. int? defaultLevel,
  2. String? description,
  3. int? id,
  4. String? name,
  5. List<int>? projectIds,
  6. String? self,
})

Implementation

SecuritySchemeWithProjects copyWith(
    {int? defaultLevel,
    String? description,
    int? id,
    String? name,
    List<int>? projectIds,
    String? self}) {
  return SecuritySchemeWithProjects(
    defaultLevel: defaultLevel ?? this.defaultLevel,
    description: description ?? this.description,
    id: id ?? this.id,
    name: name ?? this.name,
    projectIds: projectIds ?? this.projectIds,
    self: self ?? this.self,
  );
}