Skip to content

Commit 1311d42

Browse files
Add 'commits' member to GitHubComparison object (#330)
Co-authored-by: Rob Becker <[email protected]>
1 parent af4a3c6 commit 1311d42

File tree

3 files changed

+411
-158
lines changed

3 files changed

+411
-158
lines changed

lib/src/common/model/repos.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ class GitHubComparison {
1111
final int? behindBy;
1212
final int? totalCommits;
1313
final List<CommitFile>? files;
14+
final List<RepositoryCommit>? commits;
1415

1516
GitHubComparison(this.url, this.status, this.aheadBy, this.behindBy,
16-
this.totalCommits, this.files);
17+
this.totalCommits, this.files, this.commits);
1718

1819
factory GitHubComparison.fromJson(Map<String, dynamic> json) =>
1920
_$GitHubComparisonFromJson(json);

lib/src/common/model/repos.g.dart

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)