copyWith method

CreateProjectDetails copyWith({
  1. CreateProjectDetailsAssigneeType? assigneeType,
  2. int? avatarId,
  3. int? categoryId,
  4. String? description,
  5. int? fieldConfigurationScheme,
  6. int? issueSecurityScheme,
  7. int? issueTypeScheme,
  8. int? issueTypeScreenScheme,
  9. String? key,
  10. String? lead,
  11. String? leadAccountId,
  12. String? name,
  13. int? notificationScheme,
  14. int? permissionScheme,
  15. CreateProjectDetailsProjectTemplateKey? projectTemplateKey,
  16. CreateProjectDetailsProjectTypeKey? projectTypeKey,
  17. String? url,
  18. int? workflowScheme,
})

Implementation

CreateProjectDetails copyWith(
    {CreateProjectDetailsAssigneeType? assigneeType,
    int? avatarId,
    int? categoryId,
    String? description,
    int? fieldConfigurationScheme,
    int? issueSecurityScheme,
    int? issueTypeScheme,
    int? issueTypeScreenScheme,
    String? key,
    String? lead,
    String? leadAccountId,
    String? name,
    int? notificationScheme,
    int? permissionScheme,
    CreateProjectDetailsProjectTemplateKey? projectTemplateKey,
    CreateProjectDetailsProjectTypeKey? projectTypeKey,
    String? url,
    int? workflowScheme}) {
  return CreateProjectDetails(
    assigneeType: assigneeType ?? this.assigneeType,
    avatarId: avatarId ?? this.avatarId,
    categoryId: categoryId ?? this.categoryId,
    description: description ?? this.description,
    fieldConfigurationScheme:
        fieldConfigurationScheme ?? this.fieldConfigurationScheme,
    issueSecurityScheme: issueSecurityScheme ?? this.issueSecurityScheme,
    issueTypeScheme: issueTypeScheme ?? this.issueTypeScheme,
    issueTypeScreenScheme:
        issueTypeScreenScheme ?? this.issueTypeScreenScheme,
    key: key ?? this.key,
    lead: lead ?? this.lead,
    leadAccountId: leadAccountId ?? this.leadAccountId,
    name: name ?? this.name,
    notificationScheme: notificationScheme ?? this.notificationScheme,
    permissionScheme: permissionScheme ?? this.permissionScheme,
    projectTemplateKey: projectTemplateKey ?? this.projectTemplateKey,
    projectTypeKey: projectTypeKey ?? this.projectTypeKey,
    url: url ?? this.url,
    workflowScheme: workflowScheme ?? this.workflowScheme,
  );
}