build: migrate to NNBD

closes #136
This commit is contained in:
Rongjian Zhang
2021-05-16 15:16:35 +08:00
parent 420eca980a
commit efe0126bdb
168 changed files with 44577 additions and 42824 deletions

View File

@@ -12,12 +12,12 @@ abstract class GGistsVars implements Built<GGistsVars, GGistsVarsBuilder> {
factory GGistsVars([Function(GGistsVarsBuilder b) updates]) = _$GGistsVars;
String get login;
@nullable
String get after;
String? get after;
static Serializer<GGistsVars> get serializer => _$gGistsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GGistsVars.serializer, this);
static GGistsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GGistsVars.serializer, this)
as Map<String, dynamic>);
static GGistsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GGistsVars.serializer, json);
}
@@ -30,8 +30,9 @@ abstract class GGistVars implements Built<GGistVars, GGistVarsBuilder> {
String get name;
static Serializer<GGistVars> get serializer => _$gGistVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GGistVars.serializer, this);
static GGistVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GGistVars.serializer, this)
as Map<String, dynamic>);
static GGistVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GGistVars.serializer, json);
}
@@ -43,13 +44,13 @@ abstract class GFollowersVars
_$GFollowersVars;
String get login;
@nullable
String get after;
String? get after;
static Serializer<GFollowersVars> get serializer =>
_$gFollowersVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GFollowersVars.serializer, this);
static GFollowersVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GFollowersVars.serializer, this)
as Map<String, dynamic>);
static GFollowersVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GFollowersVars.serializer, json);
}
@@ -61,13 +62,13 @@ abstract class GFollowingVars
_$GFollowingVars;
String get login;
@nullable
String get after;
String? get after;
static Serializer<GFollowingVars> get serializer =>
_$gFollowingVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GFollowingVars.serializer, this);
static GFollowingVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GFollowingVars.serializer, this)
as Map<String, dynamic>);
static GFollowingVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GFollowingVars.serializer, json);
}
@@ -79,12 +80,12 @@ abstract class GMembersVars
_$GMembersVars;
String get login;
@nullable
String get after;
String? get after;
static Serializer<GMembersVars> get serializer => _$gMembersVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GMembersVars.serializer, this);
static GMembersVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GMembersVars.serializer, this)
as Map<String, dynamic>);
static GMembersVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GMembersVars.serializer, json);
}
@@ -97,12 +98,12 @@ abstract class GWatchersVars
String get owner;
String get name;
@nullable
String get after;
String? get after;
static Serializer<GWatchersVars> get serializer => _$gWatchersVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GWatchersVars.serializer, this);
static GWatchersVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GWatchersVars.serializer, this)
as Map<String, dynamic>);
static GWatchersVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GWatchersVars.serializer, json);
}
@@ -115,13 +116,13 @@ abstract class GStargazersVars
String get owner;
String get name;
@nullable
String get after;
String? get after;
static Serializer<GStargazersVars> get serializer =>
_$gStargazersVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GStargazersVars.serializer, this);
static GStargazersVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GStargazersVars.serializer, this)
as Map<String, dynamic>);
static GStargazersVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GStargazersVars.serializer, json);
}
@@ -131,12 +132,12 @@ abstract class GReposVars implements Built<GReposVars, GReposVarsBuilder> {
factory GReposVars([Function(GReposVarsBuilder b) updates]) = _$GReposVars;
String get login;
@nullable
String get after;
String? get after;
static Serializer<GReposVars> get serializer => _$gReposVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GReposVars.serializer, this);
static GReposVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GReposVars.serializer, this)
as Map<String, dynamic>);
static GReposVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GReposVars.serializer, json);
}
@@ -146,12 +147,12 @@ abstract class GStarsVars implements Built<GStarsVars, GStarsVarsBuilder> {
factory GStarsVars([Function(GStarsVarsBuilder b) updates]) = _$GStarsVars;
String get login;
@nullable
String get after;
String? get after;
static Serializer<GStarsVars> get serializer => _$gStarsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GStarsVars.serializer, this);
static GStarsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GStarsVars.serializer, this)
as Map<String, dynamic>);
static GStarsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GStarsVars.serializer, json);
}
@@ -162,8 +163,9 @@ abstract class GViewerVars implements Built<GViewerVars, GViewerVarsBuilder> {
static Serializer<GViewerVars> get serializer => _$gViewerVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GViewerVars.serializer, this);
static GViewerVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GViewerVars.serializer, this)
as Map<String, dynamic>);
static GViewerVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GViewerVars.serializer, json);
}
@@ -175,8 +177,9 @@ abstract class GUserVars implements Built<GUserVars, GUserVarsBuilder> {
String get login;
static Serializer<GUserVars> get serializer => _$gUserVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GUserVars.serializer, this);
static GUserVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GUserVars.serializer, this)
as Map<String, dynamic>);
static GUserVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GUserVars.serializer, json);
}
@@ -191,8 +194,9 @@ abstract class GRepoVars implements Built<GRepoVars, GRepoVarsBuilder> {
String get branch;
static Serializer<GRepoVars> get serializer => _$gRepoVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GRepoVars.serializer, this);
static GRepoVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GRepoVars.serializer, this)
as Map<String, dynamic>);
static GRepoVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GRepoVars.serializer, json);
}
@@ -207,12 +211,12 @@ abstract class GCommitsVars
String get name;
String get ref;
bool get hasRef;
@nullable
String get after;
String? get after;
static Serializer<GCommitsVars> get serializer => _$gCommitsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GCommitsVars.serializer, this);
static GCommitsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GCommitsVars.serializer, this)
as Map<String, dynamic>);
static GCommitsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GCommitsVars.serializer, json);
}
@@ -223,12 +227,12 @@ abstract class GIssuesVars implements Built<GIssuesVars, GIssuesVarsBuilder> {
String get owner;
String get name;
@nullable
String get cursor;
String? get cursor;
static Serializer<GIssuesVars> get serializer => _$gIssuesVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GIssuesVars.serializer, this);
static GIssuesVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GIssuesVars.serializer, this)
as Map<String, dynamic>);
static GIssuesVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GIssuesVars.serializer, json);
}
@@ -239,12 +243,12 @@ abstract class GPullsVars implements Built<GPullsVars, GPullsVarsBuilder> {
String get owner;
String get name;
@nullable
String get cursor;
String? get cursor;
static Serializer<GPullsVars> get serializer => _$gPullsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GPullsVars.serializer, this);
static GPullsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GPullsVars.serializer, this)
as Map<String, dynamic>);
static GPullsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GPullsVars.serializer, json);
}
@@ -256,12 +260,12 @@ abstract class GIssueVars implements Built<GIssueVars, GIssueVarsBuilder> {
String get owner;
String get name;
int get number;
@nullable
String get cursor;
String? get cursor;
static Serializer<GIssueVars> get serializer => _$gIssueVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GIssueVars.serializer, this);
static GIssueVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GIssueVars.serializer, this)
as Map<String, dynamic>);
static GIssueVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GIssueVars.serializer, json);
}
@@ -274,12 +278,12 @@ abstract class GReleasesVars
String get name;
String get owner;
@nullable
String get cursor;
String? get cursor;
static Serializer<GReleasesVars> get serializer => _$gReleasesVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GReleasesVars.serializer, this);
static GReleasesVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GReleasesVars.serializer, this)
as Map<String, dynamic>);
static GReleasesVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GReleasesVars.serializer, json);
}
@@ -293,8 +297,9 @@ abstract class GPageInfoPartsVars
static Serializer<GPageInfoPartsVars> get serializer =>
_$gPageInfoPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GPageInfoPartsVars.serializer, this);
static GPageInfoPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GPageInfoPartsVars.serializer, this)
as Map<String, dynamic>);
static GPageInfoPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GPageInfoPartsVars.serializer, json);
}
@@ -307,8 +312,9 @@ abstract class GRepoItemVars
static Serializer<GRepoItemVars> get serializer => _$gRepoItemVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GRepoItemVars.serializer, this);
static GRepoItemVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GRepoItemVars.serializer, this)
as Map<String, dynamic>);
static GRepoItemVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GRepoItemVars.serializer, json);
}
@@ -321,8 +327,9 @@ abstract class GUserItemVars
static Serializer<GUserItemVars> get serializer => _$gUserItemVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GUserItemVars.serializer, this);
static GUserItemVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GUserItemVars.serializer, this)
as Map<String, dynamic>);
static GUserItemVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GUserItemVars.serializer, json);
}
@@ -336,8 +343,9 @@ abstract class GReposRepoItemVars
static Serializer<GReposRepoItemVars> get serializer =>
_$gReposRepoItemVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GReposRepoItemVars.serializer, this);
static GReposRepoItemVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GReposRepoItemVars.serializer, this)
as Map<String, dynamic>);
static GReposRepoItemVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GReposRepoItemVars.serializer, json);
}
@@ -351,8 +359,9 @@ abstract class GUserPartsVars
static Serializer<GUserPartsVars> get serializer =>
_$gUserPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GUserPartsVars.serializer, this);
static GUserPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GUserPartsVars.serializer, this)
as Map<String, dynamic>);
static GUserPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GUserPartsVars.serializer, json);
}
@@ -366,8 +375,9 @@ abstract class GRepoCommitVars
static Serializer<GRepoCommitVars> get serializer =>
_$gRepoCommitVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GRepoCommitVars.serializer, this);
static GRepoCommitVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GRepoCommitVars.serializer, this)
as Map<String, dynamic>);
static GRepoCommitVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GRepoCommitVars.serializer, json);
}
@@ -380,8 +390,9 @@ abstract class GRepoRefVars
static Serializer<GRepoRefVars> get serializer => _$gRepoRefVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GRepoRefVars.serializer, this);
static GRepoRefVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GRepoRefVars.serializer, this)
as Map<String, dynamic>);
static GRepoRefVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GRepoRefVars.serializer, json);
}
@@ -393,13 +404,13 @@ abstract class GCommitsRefCommitVars
[Function(GCommitsRefCommitVarsBuilder b) updates]) =
_$GCommitsRefCommitVars;
@nullable
String get after;
String? get after;
static Serializer<GCommitsRefCommitVars> get serializer =>
_$gCommitsRefCommitVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GCommitsRefCommitVars.serializer, this);
static GCommitsRefCommitVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GCommitsRefCommitVars.serializer, this)
as Map<String, dynamic>);
static GCommitsRefCommitVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GCommitsRefCommitVars.serializer, json);
}
@@ -410,13 +421,13 @@ abstract class GCommitsRefVars
factory GCommitsRefVars([Function(GCommitsRefVarsBuilder b) updates]) =
_$GCommitsRefVars;
@nullable
String get after;
String? get after;
static Serializer<GCommitsRefVars> get serializer =>
_$gCommitsRefVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GCommitsRefVars.serializer, this);
static GCommitsRefVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GCommitsRefVars.serializer, this)
as Map<String, dynamic>);
static GCommitsRefVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GCommitsRefVars.serializer, json);
}
@@ -430,8 +441,9 @@ abstract class GCommentPartsVars
static Serializer<GCommentPartsVars> get serializer =>
_$gCommentPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GCommentPartsVars.serializer, this);
static GCommentPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GCommentPartsVars.serializer, this)
as Map<String, dynamic>);
static GCommentPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GCommentPartsVars.serializer, json);
}
@@ -447,9 +459,9 @@ abstract class GReactionConnectionPartsVars
static Serializer<GReactionConnectionPartsVars> get serializer =>
_$gReactionConnectionPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GReactionConnectionPartsVars.serializer, this);
static GReactionConnectionPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GReactionConnectionPartsVars.serializer, this) as Map<String, dynamic>);
static GReactionConnectionPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GReactionConnectionPartsVars.serializer, json);
}
@@ -464,8 +476,9 @@ abstract class GReactablePartsVars
static Serializer<GReactablePartsVars> get serializer =>
_$gReactablePartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GReactablePartsVars.serializer, this);
static GReactablePartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GReactablePartsVars.serializer, this)
as Map<String, dynamic>);
static GReactablePartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GReactablePartsVars.serializer, json);
}
@@ -481,8 +494,9 @@ abstract class GReferencedEventPartsVars
static Serializer<GReferencedEventPartsVars> get serializer =>
_$gReferencedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GReferencedEventPartsVars.serializer, this);
static GReferencedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GReferencedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GReferencedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GReferencedEventPartsVars.serializer, json);
}
@@ -498,9 +512,9 @@ abstract class GRenamedTitleEventPartsVars
static Serializer<GRenamedTitleEventPartsVars> get serializer =>
_$gRenamedTitleEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GRenamedTitleEventPartsVars.serializer, this);
static GRenamedTitleEventPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GRenamedTitleEventPartsVars.serializer, this) as Map<String, dynamic>);
static GRenamedTitleEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GRenamedTitleEventPartsVars.serializer, json);
}
@@ -516,8 +530,9 @@ abstract class GClosedEventPartsVars
static Serializer<GClosedEventPartsVars> get serializer =>
_$gClosedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GClosedEventPartsVars.serializer, this);
static GClosedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GClosedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GClosedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GClosedEventPartsVars.serializer, json);
}
@@ -532,8 +547,9 @@ abstract class GReopenedEventPartsVars
static Serializer<GReopenedEventPartsVars> get serializer =>
_$gReopenedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GReopenedEventPartsVars.serializer, this);
static GReopenedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GReopenedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GReopenedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GReopenedEventPartsVars.serializer, json);
}
@@ -549,9 +565,9 @@ abstract class GCrossReferencedEventPartsVars
static Serializer<GCrossReferencedEventPartsVars> get serializer =>
_$gCrossReferencedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GCrossReferencedEventPartsVars.serializer, this);
static GCrossReferencedEventPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GCrossReferencedEventPartsVars.serializer, this) as Map<String, dynamic>);
static GCrossReferencedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GCrossReferencedEventPartsVars.serializer, json);
}
@@ -567,8 +583,9 @@ abstract class GLabeledEventPartsVars
static Serializer<GLabeledEventPartsVars> get serializer =>
_$gLabeledEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GLabeledEventPartsVars.serializer, this);
static GLabeledEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GLabeledEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GLabeledEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GLabeledEventPartsVars.serializer, json);
}
@@ -584,8 +601,9 @@ abstract class GUnlabeledEventPartsVars
static Serializer<GUnlabeledEventPartsVars> get serializer =>
_$gUnlabeledEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GUnlabeledEventPartsVars.serializer, this);
static GUnlabeledEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GUnlabeledEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GUnlabeledEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GUnlabeledEventPartsVars.serializer, json);
}
@@ -602,8 +620,9 @@ abstract class GMilestonedEventPartsVars
static Serializer<GMilestonedEventPartsVars> get serializer =>
_$gMilestonedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GMilestonedEventPartsVars.serializer, this);
static GMilestonedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GMilestonedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GMilestonedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GMilestonedEventPartsVars.serializer, json);
}
@@ -619,9 +638,9 @@ abstract class GDemilestonedEventPartsVars
static Serializer<GDemilestonedEventPartsVars> get serializer =>
_$gDemilestonedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GDemilestonedEventPartsVars.serializer, this);
static GDemilestonedEventPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GDemilestonedEventPartsVars.serializer, this) as Map<String, dynamic>);
static GDemilestonedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GDemilestonedEventPartsVars.serializer, json);
}
@@ -637,8 +656,9 @@ abstract class GLockedEventPartsVars
static Serializer<GLockedEventPartsVars> get serializer =>
_$gLockedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GLockedEventPartsVars.serializer, this);
static GLockedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GLockedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GLockedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GLockedEventPartsVars.serializer, json);
}
@@ -653,8 +673,9 @@ abstract class GUnlockedEventPartsVars
static Serializer<GUnlockedEventPartsVars> get serializer =>
_$gUnlockedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GUnlockedEventPartsVars.serializer, this);
static GUnlockedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GUnlockedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GUnlockedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GUnlockedEventPartsVars.serializer, json);
}
@@ -669,8 +690,9 @@ abstract class GAssignedEventPartsVars
static Serializer<GAssignedEventPartsVars> get serializer =>
_$gAssignedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GAssignedEventPartsVars.serializer, this);
static GAssignedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GAssignedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GAssignedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GAssignedEventPartsVars.serializer, json);
}
@@ -686,8 +708,9 @@ abstract class GUnassignedEventPartsVars
static Serializer<GUnassignedEventPartsVars> get serializer =>
_$gUnassignedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GUnassignedEventPartsVars.serializer, this);
static GUnassignedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GUnassignedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GUnassignedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GUnassignedEventPartsVars.serializer, json);
}
@@ -704,8 +727,9 @@ abstract class GSubscribedEventPartsVars
static Serializer<GSubscribedEventPartsVars> get serializer =>
_$gSubscribedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GSubscribedEventPartsVars.serializer, this);
static GSubscribedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GSubscribedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GSubscribedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GSubscribedEventPartsVars.serializer, json);
}
@@ -721,9 +745,9 @@ abstract class GUnsubscribedEventPartsVars
static Serializer<GUnsubscribedEventPartsVars> get serializer =>
_$gUnsubscribedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GUnsubscribedEventPartsVars.serializer, this);
static GUnsubscribedEventPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GUnsubscribedEventPartsVars.serializer, this) as Map<String, dynamic>);
static GUnsubscribedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GUnsubscribedEventPartsVars.serializer, json);
}
@@ -740,8 +764,9 @@ abstract class GMentionedEventPartsVars
static Serializer<GMentionedEventPartsVars> get serializer =>
_$gMentionedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GMentionedEventPartsVars.serializer, this);
static GMentionedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GMentionedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GMentionedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GMentionedEventPartsVars.serializer, json);
}
@@ -757,8 +782,9 @@ abstract class GPinnedEventPartsVars
static Serializer<GPinnedEventPartsVars> get serializer =>
_$gPinnedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GPinnedEventPartsVars.serializer, this);
static GPinnedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GPinnedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GPinnedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GPinnedEventPartsVars.serializer, json);
}
@@ -773,9 +799,9 @@ abstract class GTransferredEventPartsVars
static Serializer<GTransferredEventPartsVars> get serializer =>
_$gTransferredEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GTransferredEventPartsVars.serializer, this);
static GTransferredEventPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GTransferredEventPartsVars.serializer, this) as Map<String, dynamic>);
static GTransferredEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GTransferredEventPartsVars.serializer, json);
}
@@ -791,9 +817,9 @@ abstract class GPullRequestCommitPartsVars
static Serializer<GPullRequestCommitPartsVars> get serializer =>
_$gPullRequestCommitPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GPullRequestCommitPartsVars.serializer, this);
static GPullRequestCommitPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GPullRequestCommitPartsVars.serializer, this) as Map<String, dynamic>);
static GPullRequestCommitPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GPullRequestCommitPartsVars.serializer, json);
}
@@ -809,8 +835,9 @@ abstract class GDeployedEventPartsVars
static Serializer<GDeployedEventPartsVars> get serializer =>
_$gDeployedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GDeployedEventPartsVars.serializer, this);
static GDeployedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GDeployedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GDeployedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GDeployedEventPartsVars.serializer, json);
}
@@ -826,9 +853,10 @@ abstract class GDeploymentEnvironmentChangedEventPartsVars
static Serializer<GDeploymentEnvironmentChangedEventPartsVars>
get serializer => _$gDeploymentEnvironmentChangedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers.serializeWith(
GDeploymentEnvironmentChangedEventPartsVars.serializer, this);
static GDeploymentEnvironmentChangedEventPartsVars fromJson(
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GDeploymentEnvironmentChangedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GDeploymentEnvironmentChangedEventPartsVars? fromJson(
Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(
GDeploymentEnvironmentChangedEventPartsVars.serializer, json);
@@ -846,9 +874,9 @@ abstract class GHeadRefRestoredEventPartsVars
static Serializer<GHeadRefRestoredEventPartsVars> get serializer =>
_$gHeadRefRestoredEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GHeadRefRestoredEventPartsVars.serializer, this);
static GHeadRefRestoredEventPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GHeadRefRestoredEventPartsVars.serializer, this) as Map<String, dynamic>);
static GHeadRefRestoredEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GHeadRefRestoredEventPartsVars.serializer, json);
}
@@ -865,9 +893,10 @@ abstract class GBaseRefForcePushedEventPartsVars
static Serializer<GBaseRefForcePushedEventPartsVars> get serializer =>
_$gBaseRefForcePushedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GBaseRefForcePushedEventPartsVars.serializer, this);
static GBaseRefForcePushedEventPartsVars fromJson(
Map<String, dynamic> toJson() => (_i1.serializers
.serializeWith(GBaseRefForcePushedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GBaseRefForcePushedEventPartsVars? fromJson(
Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GBaseRefForcePushedEventPartsVars.serializer, json);
@@ -885,9 +914,10 @@ abstract class GHeadRefForcePushedEventPartsVars
static Serializer<GHeadRefForcePushedEventPartsVars> get serializer =>
_$gHeadRefForcePushedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GHeadRefForcePushedEventPartsVars.serializer, this);
static GHeadRefForcePushedEventPartsVars fromJson(
Map<String, dynamic> toJson() => (_i1.serializers
.serializeWith(GHeadRefForcePushedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GHeadRefForcePushedEventPartsVars? fromJson(
Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GHeadRefForcePushedEventPartsVars.serializer, json);
@@ -905,9 +935,9 @@ abstract class GReviewRequestedEventPartsVars
static Serializer<GReviewRequestedEventPartsVars> get serializer =>
_$gReviewRequestedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GReviewRequestedEventPartsVars.serializer, this);
static GReviewRequestedEventPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GReviewRequestedEventPartsVars.serializer, this) as Map<String, dynamic>);
static GReviewRequestedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GReviewRequestedEventPartsVars.serializer, json);
}
@@ -924,9 +954,10 @@ abstract class GReviewRequestRemovedEventPartsVars
static Serializer<GReviewRequestRemovedEventPartsVars> get serializer =>
_$gReviewRequestRemovedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GReviewRequestRemovedEventPartsVars.serializer, this);
static GReviewRequestRemovedEventPartsVars fromJson(
Map<String, dynamic> toJson() => (_i1.serializers
.serializeWith(GReviewRequestRemovedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GReviewRequestRemovedEventPartsVars? fromJson(
Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(
GReviewRequestRemovedEventPartsVars.serializer, json);
@@ -944,9 +975,9 @@ abstract class GReviewDismissedEventPartsVars
static Serializer<GReviewDismissedEventPartsVars> get serializer =>
_$gReviewDismissedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GReviewDismissedEventPartsVars.serializer, this);
static GReviewDismissedEventPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GReviewDismissedEventPartsVars.serializer, this) as Map<String, dynamic>);
static GReviewDismissedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GReviewDismissedEventPartsVars.serializer, json);
}
@@ -962,9 +993,9 @@ abstract class GPullRequestReviewPartsVars
static Serializer<GPullRequestReviewPartsVars> get serializer =>
_$gPullRequestReviewPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GPullRequestReviewPartsVars.serializer, this);
static GPullRequestReviewPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GPullRequestReviewPartsVars.serializer, this) as Map<String, dynamic>);
static GPullRequestReviewPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GPullRequestReviewPartsVars.serializer, json);
}
@@ -980,8 +1011,9 @@ abstract class GMergedEventPartsVars
static Serializer<GMergedEventPartsVars> get serializer =>
_$gMergedEventPartsVarsSerializer;
Map<String, dynamic> toJson() =>
_i1.serializers.serializeWith(GMergedEventPartsVars.serializer, this);
static GMergedEventPartsVars fromJson(Map<String, dynamic> json) =>
(_i1.serializers.serializeWith(GMergedEventPartsVars.serializer, this)
as Map<String, dynamic>);
static GMergedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(GMergedEventPartsVars.serializer, json);
}
@@ -997,9 +1029,9 @@ abstract class GHeadRefDeletedEventPartsVars
static Serializer<GHeadRefDeletedEventPartsVars> get serializer =>
_$gHeadRefDeletedEventPartsVarsSerializer;
Map<String, dynamic> toJson() => _i1.serializers
.serializeWith(GHeadRefDeletedEventPartsVars.serializer, this);
static GHeadRefDeletedEventPartsVars fromJson(Map<String, dynamic> json) =>
Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
GHeadRefDeletedEventPartsVars.serializer, this) as Map<String, dynamic>);
static GHeadRefDeletedEventPartsVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers
.deserializeWith(GHeadRefDeletedEventPartsVars.serializer, json);
}