GithubRepoItem constructor

GithubRepoItem({
  1. required String owner,
  2. required String repoName,
  3. required String description,
  4. required String programmingLanguage,
  5. String? programmingLanguageColor,
  6. required int totalStars,
  7. required String starsSince,
  8. required int totalForks,
  9. required List<GithubUserItem> topContributors,
})

Create an instance for a trending repo item.

Implementation

GithubRepoItem({
  required this.owner,
  required this.repoName,
  required this.description,
  required this.programmingLanguage,
  this.programmingLanguageColor,
  required this.totalStars,
  required this.starsSince,
  required this.totalForks,
  required this.topContributors,
});