Project constructor

Project({
  1. bool? archived,
  2. User? archivedBy,
  3. DateTime? archivedDate,
  4. ProjectAssigneeType? assigneeType,
  5. AvatarUrlsBean? avatarUrls,
  6. List<ProjectComponent>? components,
  7. bool? deleted,
  8. User? deletedBy,
  9. DateTime? deletedDate,
  10. String? description,
  11. String? email,
  12. String? expand,
  13. bool? favourite,
  14. String? id,
  15. ProjectInsight? insight,
  16. bool? isPrivate,
  17. Hierarchy? issueTypeHierarchy,
  18. List<IssueTypeDetails>? issueTypes,
  19. String? key,
  20. ProjectLandingPageInfo? landingPageInfo,
  21. User? lead,
  22. String? name,
  23. ProjectPermissions? permissions,
  24. ProjectCategory? projectCategory,
  25. ProjectProjectTypeKey? projectTypeKey,
  26. Map<String, dynamic>? properties,
  27. DateTime? retentionTillDate,
  28. Map<String, dynamic>? roles,
  29. String? self,
  30. bool? simplified,
  31. ProjectStyle? style,
  32. String? url,
  33. String? uuid,
  34. List<Version>? versions,
})

Implementation

Project(
    {bool? archived,
    this.archivedBy,
    this.archivedDate,
    this.assigneeType,
    this.avatarUrls,
    List<ProjectComponent>? components,
    bool? deleted,
    this.deletedBy,
    this.deletedDate,
    this.description,
    this.email,
    this.expand,
    bool? favourite,
    this.id,
    this.insight,
    bool? isPrivate,
    this.issueTypeHierarchy,
    List<IssueTypeDetails>? issueTypes,
    this.key,
    this.landingPageInfo,
    this.lead,
    this.name,
    this.permissions,
    this.projectCategory,
    this.projectTypeKey,
    this.properties,
    this.retentionTillDate,
    this.roles,
    this.self,
    bool? simplified,
    this.style,
    this.url,
    this.uuid,
    List<Version>? versions})
    : archived = archived ?? false,
      components = components ?? [],
      deleted = deleted ?? false,
      favourite = favourite ?? false,
      isPrivate = isPrivate ?? false,
      issueTypes = issueTypes ?? [],
      simplified = simplified ?? false,
      versions = versions ?? [];