Repository constructor
Repository({
- String name = '',
- int id = 0,
- String fullName = '',
- UserInformation? owner,
- String htmlUrl = '',
- String description = '',
- String cloneUrl = '',
- String gitUrl = '',
- String sshUrl = '',
- String svnUrl = '',
- String defaultBranch = '',
- DateTime? createdAt,
- bool isPrivate = false,
- bool isFork = false,
- int stargazersCount = 0,
- int watchersCount = 0,
- String language = '',
- bool hasWiki = false,
- bool hasDownloads = false,
- int forksCount = 0,
- int openIssuesCount = 0,
- int subscribersCount = 0,
- int networkCount = 0,
- bool hasIssues = false,
- int size = 0,
- bool archived = false,
- bool disabled = false,
- String homepage = '',
- DateTime? updatedAt,
- DateTime? pushedAt,
- LicenseKind? license,
- bool hasPages = false,
- 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});