chore: update generated files
This commit is contained in:
parent
51bd138951
commit
ade30dec99
|
@ -3,27 +3,34 @@
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "all",
|
"label": "all",
|
||||||
"dependsOn": ["json", "github", "gitlab"]
|
"dependsOn": ["root", "gql_github", "gql_gitlab", "github_trending"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "json",
|
"label": "root",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"command": "dart",
|
"command": "dart",
|
||||||
"args": ["run", "build_runner", "watch"]
|
"args": ["run", "build_runner", "watch"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "github",
|
"label": "gql_github",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"command": "dart",
|
"command": "dart",
|
||||||
"cwd": "packages/gql_github",
|
"cwd": "packages/gql_github",
|
||||||
"args": ["run", "build_runner", "watch"]
|
"args": ["run", "build_runner", "watch"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "gitlab",
|
"label": "gql_gitlab",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"command": "dart",
|
"command": "dart",
|
||||||
"cwd": "packages/gql_gitlab",
|
"cwd": "packages/gql_gitlab",
|
||||||
"args": ["run", "build_runner", "watch"]
|
"args": ["run", "build_runner", "watch"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "github_trending",
|
||||||
|
"type": "dart",
|
||||||
|
"command": "dart",
|
||||||
|
"cwd": "packages/github_trending",
|
||||||
|
"args": ["run", "build_runner", "watch"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,23 +7,22 @@ part of 'model.dart';
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
|
|
||||||
GithubTrendingRepository _$GithubTrendingRepositoryFromJson(
|
GithubTrendingRepository _$GithubTrendingRepositoryFromJson(
|
||||||
Map<String, dynamic> json) {
|
Map<String, dynamic> json) =>
|
||||||
return GithubTrendingRepository()
|
GithubTrendingRepository()
|
||||||
..author = json['author'] as String?
|
..author = json['author'] as String?
|
||||||
..name = json['name'] as String?
|
..name = json['name'] as String?
|
||||||
..avatar = json['avatar'] as String?
|
..avatar = json['avatar'] as String?
|
||||||
..url = json['url'] as String?
|
..url = json['url'] as String?
|
||||||
..description = json['description'] as String?
|
..description = json['description'] as String?
|
||||||
..language = json['language'] as String?
|
..language = json['language'] as String?
|
||||||
..languageColor = json['languageColor'] as String?
|
..languageColor = json['languageColor'] as String?
|
||||||
..stars = json['stars'] as int?
|
..stars = json['stars'] as int?
|
||||||
..forks = json['forks'] as int?
|
..forks = json['forks'] as int?
|
||||||
..currentPeriodStars = json['currentPeriodStars'] as int?
|
..currentPeriodStars = json['currentPeriodStars'] as int?
|
||||||
..builtBy = (json['builtBy'] as List<dynamic>?)
|
..builtBy = (json['builtBy'] as List<dynamic>?)
|
||||||
?.map((e) =>
|
?.map((e) => GithubTrendingRepositoryBuiltBy.fromJson(
|
||||||
GithubTrendingRepositoryBuiltBy.fromJson(e as Map<String, dynamic>))
|
e as Map<String, dynamic>))
|
||||||
.toList();
|
.toList();
|
||||||
}
|
|
||||||
|
|
||||||
Map<String, dynamic> _$GithubTrendingRepositoryToJson(
|
Map<String, dynamic> _$GithubTrendingRepositoryToJson(
|
||||||
GithubTrendingRepository instance) =>
|
GithubTrendingRepository instance) =>
|
||||||
|
@ -42,12 +41,11 @@ Map<String, dynamic> _$GithubTrendingRepositoryToJson(
|
||||||
};
|
};
|
||||||
|
|
||||||
GithubTrendingRepositoryBuiltBy _$GithubTrendingRepositoryBuiltByFromJson(
|
GithubTrendingRepositoryBuiltBy _$GithubTrendingRepositoryBuiltByFromJson(
|
||||||
Map<String, dynamic> json) {
|
Map<String, dynamic> json) =>
|
||||||
return GithubTrendingRepositoryBuiltBy()
|
GithubTrendingRepositoryBuiltBy()
|
||||||
..href = json['href'] as String?
|
..href = json['href'] as String?
|
||||||
..avatar = json['avatar'] as String?
|
..avatar = json['avatar'] as String?
|
||||||
..username = json['username'] as String?;
|
..username = json['username'] as String?;
|
||||||
}
|
|
||||||
|
|
||||||
Map<String, dynamic> _$GithubTrendingRepositoryBuiltByToJson(
|
Map<String, dynamic> _$GithubTrendingRepositoryBuiltByToJson(
|
||||||
GithubTrendingRepositoryBuiltBy instance) =>
|
GithubTrendingRepositoryBuiltBy instance) =>
|
||||||
|
@ -58,18 +56,17 @@ Map<String, dynamic> _$GithubTrendingRepositoryBuiltByToJson(
|
||||||
};
|
};
|
||||||
|
|
||||||
GithubTrendingDeveloper _$GithubTrendingDeveloperFromJson(
|
GithubTrendingDeveloper _$GithubTrendingDeveloperFromJson(
|
||||||
Map<String, dynamic> json) {
|
Map<String, dynamic> json) =>
|
||||||
return GithubTrendingDeveloper()
|
GithubTrendingDeveloper()
|
||||||
..username = json['username'] as String?
|
..username = json['username'] as String?
|
||||||
..name = json['name'] as String?
|
..name = json['name'] as String?
|
||||||
..type = json['type'] as String?
|
..type = json['type'] as String?
|
||||||
..url = json['url'] as String?
|
..url = json['url'] as String?
|
||||||
..avatar = json['avatar'] as String?
|
..avatar = json['avatar'] as String?
|
||||||
..repo = json['repo'] == null
|
..repo = json['repo'] == null
|
||||||
? null
|
? null
|
||||||
: GithubTrendingDeveloperRepository.fromJson(
|
: GithubTrendingDeveloperRepository.fromJson(
|
||||||
json['repo'] as Map<String, dynamic>);
|
json['repo'] as Map<String, dynamic>);
|
||||||
}
|
|
||||||
|
|
||||||
Map<String, dynamic> _$GithubTrendingDeveloperToJson(
|
Map<String, dynamic> _$GithubTrendingDeveloperToJson(
|
||||||
GithubTrendingDeveloper instance) =>
|
GithubTrendingDeveloper instance) =>
|
||||||
|
@ -83,12 +80,11 @@ Map<String, dynamic> _$GithubTrendingDeveloperToJson(
|
||||||
};
|
};
|
||||||
|
|
||||||
GithubTrendingDeveloperRepository _$GithubTrendingDeveloperRepositoryFromJson(
|
GithubTrendingDeveloperRepository _$GithubTrendingDeveloperRepositoryFromJson(
|
||||||
Map<String, dynamic> json) {
|
Map<String, dynamic> json) =>
|
||||||
return GithubTrendingDeveloperRepository()
|
GithubTrendingDeveloperRepository()
|
||||||
..name = json['name'] as String?
|
..name = json['name'] as String?
|
||||||
..description = json['description'] as String?
|
..description = json['description'] as String?
|
||||||
..url = json['url'] as String?;
|
..url = json['url'] as String?;
|
||||||
}
|
|
||||||
|
|
||||||
Map<String, dynamic> _$GithubTrendingDeveloperRepositoryToJson(
|
Map<String, dynamic> _$GithubTrendingDeveloperRepositoryToJson(
|
||||||
GithubTrendingDeveloperRepository instance) =>
|
GithubTrendingDeveloperRepository instance) =>
|
||||||
|
|
Loading…
Reference in New Issue