Repository constructor Null safety

Repository(
  1. {String name = '',
  2. int id = 0,
  3. String fullName = '',
  4. UserInformation? owner,
  5. String htmlUrl = '',
  6. String description = '',
  7. String cloneUrl = '',
  8. String gitUrl = '',
  9. String sshUrl = '',
  10. String svnUrl = '',
  11. String defaultBranch = '',
  12. DateTime? createdAt,
  13. bool isPrivate = false,
  14. bool isFork = false,
  15. int stargazersCount = 0,
  16. int watchersCount = 0,
  17. String language = '',
  18. bool hasWiki = false,
  19. bool hasDownloads = false,
  20. int forksCount = 0,
  21. int openIssuesCount = 0,
  22. int subscribersCount = 0,
  23. int networkCount = 0,
  24. bool hasIssues = false,
  25. int size = 0,
  26. bool archived = false,
  27. bool disabled = false,
  28. String homepage = '',
  29. DateTime? updatedAt,
  30. DateTime? pushedAt,
  31. LicenseKind? license,
  32. bool hasPages = false,
  33. RepositoryPermissions? permissions}
)

Implementation

Repository(
    {this.name = '',
    this.id = 0,
    this.fullName = '',
    this.owner,
    this.htmlUrl = '',
    this.description = '',
    this.cloneUrl = '',
    this.gitUrl = '',
    this.sshUrl = '',
    this.svnUrl = '',
    this.defaultBranch = '',
    this.createdAt,
    this.isPrivate = false,
    this.isFork = false,
    this.stargazersCount = 0,
    this.watchersCount = 0,
    this.language = '',
    this.hasWiki = false,
    this.hasDownloads = false,
    this.forksCount = 0,
    this.openIssuesCount = 0,
    this.subscribersCount = 0,
    this.networkCount = 0,
    this.hasIssues = false,
    this.size = 0,
    this.archived = false,
    this.disabled = false,
    this.homepage = '',
    this.updatedAt,
    this.pushedAt,
    this.license,
    this.hasPages = false,
    this.permissions});