mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-28 10:28:58 -05:00
improvement: add trending user repo
This commit is contained in:
@@ -227,7 +227,7 @@ class GithubTrendingUser {
|
||||
|
||||
@JsonSerializable()
|
||||
class GithubTrendingUserRepo {
|
||||
String username;
|
||||
String name;
|
||||
String description;
|
||||
|
||||
GithubTrendingUserRepo();
|
||||
|
||||
@@ -268,13 +268,13 @@ Map<String, dynamic> _$GithubTrendingUserToJson(GithubTrendingUser instance) =>
|
||||
GithubTrendingUserRepo _$GithubTrendingUserRepoFromJson(
|
||||
Map<String, dynamic> json) {
|
||||
return GithubTrendingUserRepo()
|
||||
..username = json['username'] as String
|
||||
..name = json['name'] as String
|
||||
..description = json['description'] as String;
|
||||
}
|
||||
|
||||
Map<String, dynamic> _$GithubTrendingUserRepoToJson(
|
||||
GithubTrendingUserRepo instance) =>
|
||||
<String, dynamic>{
|
||||
'username': instance.username,
|
||||
'name': instance.name,
|
||||
'description': instance.description,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user