copyWith method

ProjectDetails copyWith({
  1. AvatarUrlsBean? avatarUrls,
  2. String? id,
  3. String? key,
  4. String? name,
  5. UpdatedProjectCategory? projectCategory,
  6. ProjectDetailsProjectTypeKey? projectTypeKey,
  7. String? self,
  8. bool? simplified,
})

Implementation

ProjectDetails copyWith(
    {AvatarUrlsBean? avatarUrls,
    String? id,
    String? key,
    String? name,
    UpdatedProjectCategory? projectCategory,
    ProjectDetailsProjectTypeKey? projectTypeKey,
    String? self,
    bool? simplified}) {
  return ProjectDetails(
    avatarUrls: avatarUrls ?? this.avatarUrls,
    id: id ?? this.id,
    key: key ?? this.key,
    name: name ?? this.name,
    projectCategory: projectCategory ?? this.projectCategory,
    projectTypeKey: projectTypeKey ?? this.projectTypeKey,
    self: self ?? this.self,
    simplified: simplified ?? this.simplified,
  );
}