copyWith method

UpdateProjectDetails copyWith({
  1. UpdateProjectDetailsAssigneeType? assigneeType,
  2. int? avatarId,
  3. int? categoryId,
  4. String? description,
  5. int? issueSecurityScheme,
  6. String? key,
  7. String? lead,
  8. String? leadAccountId,
  9. String? name,
  10. int? notificationScheme,
  11. int? permissionScheme,
  12. String? url,
})

Implementation

UpdateProjectDetails copyWith(
    {UpdateProjectDetailsAssigneeType? assigneeType,
    int? avatarId,
    int? categoryId,
    String? description,
    int? issueSecurityScheme,
    String? key,
    String? lead,
    String? leadAccountId,
    String? name,
    int? notificationScheme,
    int? permissionScheme,
    String? url}) {
  return UpdateProjectDetails(
    assigneeType: assigneeType ?? this.assigneeType,
    avatarId: avatarId ?? this.avatarId,
    categoryId: categoryId ?? this.categoryId,
    description: description ?? this.description,
    issueSecurityScheme: issueSecurityScheme ?? this.issueSecurityScheme,
    key: key ?? this.key,
    lead: lead ?? this.lead,
    leadAccountId: leadAccountId ?? this.leadAccountId,
    name: name ?? this.name,
    notificationScheme: notificationScheme ?? this.notificationScheme,
    permissionScheme: permissionScheme ?? this.permissionScheme,
    url: url ?? this.url,
  );
}