Skip to content

Commit 72e2354

Browse files
authored
Merge pull request #206 from pd4d10/patch-1
Add missing download url for repos contents
2 parents 6fc1ff1 + de3fdca commit 72e2354

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

lib/src/common/model/repos_contents.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class GitHubFile {
1818
this.sha,
1919
this.htmlUrl,
2020
this.gitUrl,
21+
this.downloadUrl,
2122
this.links,
2223
this.sourceRepository,
2324
});
@@ -51,6 +52,10 @@ class GitHubFile {
5152
@JsonKey(name: 'git_url')
5253
String gitUrl;
5354

55+
/// Download Url
56+
@JsonKey(name: 'download_url')
57+
String downloadUrl;
58+
5459
/// Links
5560
@JsonKey(name: '_links')
5661
Links links;

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

Lines changed: 2 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)