// GENERATED CODE - DO NOT MODIFY BY HAND import 'package:meta/meta.dart'; import 'package:artemis/artemis.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:equatable/equatable.dart'; import 'package:gql/ast.dart'; part 'gh.g.dart'; @JsonSerializable(explicitToJson: true) class GhRepo with EquatableMixin { GhRepo({this.repository}); factory GhRepo.fromJson(Map json) => _$GhRepoFromJson(json); GhRepoRepository repository; @override List get props => [repository]; Map toJson() => _$GhRepoToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRepository extends GhRepoPinnableItem with EquatableMixin implements GhRepoNode, GhRepoProjectOwner, GhRepoRegistryPackageOwner, GhRepoRegistryPackageSearch, GhRepoSubscribable, GhRepoStarrable, GhRepoUniformResourceLocatable, GhRepoRepositoryInfo { GhRepoRepository( {this.forks, this.primaryLanguage, this.diskUsage, this.watchers, this.issues, this.pullRequests, this.releases, this.languages, this.defaultBranchRef, this.ref, this.refs, this.repositoryTopics}); factory GhRepoRepository.fromJson(Map json) => _$GhRepoRepositoryFromJson(json); @override GhRepoRepositoryOwner owner; @override String name; @override String description; @override String homepageUrl; @override bool isPrivate; @override bool isFork; @override GhRepoStargazerConnection stargazers; GhRepoRepositoryConnection forks; GhRepoLanguage primaryLanguage; @override String id; int diskUsage; @override bool hasIssuesEnabled; @override String url; @override bool viewerHasStarred; @override GhRepoSubscriptionState viewerSubscription; @override String projectsUrl; GhRepoUserConnection watchers; GhRepoIssueConnection issues; GhRepoPullRequestConnection pullRequests; @override GhRepoProjectConnection projects; GhRepoReleaseConnection releases; GhRepoLanguageConnection languages; GhRepoRef defaultBranchRef; GhRepoRef ref; GhRepoRefConnection refs; @override GhRepoLicense licenseInfo; GhRepoRepositoryTopicConnection repositoryTopics; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [ owner, name, description, homepageUrl, isPrivate, isFork, stargazers, forks, primaryLanguage, id, diskUsage, hasIssuesEnabled, url, viewerHasStarred, viewerSubscription, projectsUrl, watchers, issues, pullRequests, projects, releases, languages, defaultBranchRef, ref, refs, licenseInfo, repositoryTopics, resolveType ]; Map toJson() => _$GhRepoRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRepositoryOwner with EquatableMixin { GhRepoRepositoryOwner({this.login, this.avatarUrl}); factory GhRepoRepositoryOwner.fromJson(Map json) => _$GhRepoRepositoryOwnerFromJson(json); String login; String avatarUrl; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, avatarUrl, resolveType]; Map toJson() => _$GhRepoRepositoryOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoStargazerConnection with EquatableMixin { GhRepoStargazerConnection({this.totalCount}); factory GhRepoStargazerConnection.fromJson(Map json) => _$GhRepoStargazerConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhRepoStargazerConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRepositoryConnection with EquatableMixin { GhRepoRepositoryConnection({this.totalCount}); factory GhRepoRepositoryConnection.fromJson(Map json) => _$GhRepoRepositoryConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhRepoRepositoryConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoLanguage with EquatableMixin implements GhRepoNode { GhRepoLanguage({this.color, this.name}); factory GhRepoLanguage.fromJson(Map json) => _$GhRepoLanguageFromJson(json); String color; String name; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [color, name, resolveType]; Map toJson() => _$GhRepoLanguageToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoNode with EquatableMixin { GhRepoNode(); factory GhRepoNode.fromJson(Map json) => _$GhRepoNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhRepoNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoUserConnection with EquatableMixin { GhRepoUserConnection({this.totalCount}); factory GhRepoUserConnection.fromJson(Map json) => _$GhRepoUserConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhRepoUserConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIssueConnection with EquatableMixin { GhRepoIssueConnection({this.totalCount}); factory GhRepoIssueConnection.fromJson(Map json) => _$GhRepoIssueConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhRepoIssueConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoPullRequestConnection with EquatableMixin { GhRepoPullRequestConnection({this.totalCount}); factory GhRepoPullRequestConnection.fromJson(Map json) => _$GhRepoPullRequestConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhRepoPullRequestConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoProjectConnection with EquatableMixin { GhRepoProjectConnection({this.totalCount}); factory GhRepoProjectConnection.fromJson(Map json) => _$GhRepoProjectConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhRepoProjectConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoReleaseConnection with EquatableMixin { GhRepoReleaseConnection({this.totalCount}); factory GhRepoReleaseConnection.fromJson(Map json) => _$GhRepoReleaseConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhRepoReleaseConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoLanguageConnection with EquatableMixin { GhRepoLanguageConnection({this.totalSize, this.edges}); factory GhRepoLanguageConnection.fromJson(Map json) => _$GhRepoLanguageConnectionFromJson(json); int totalSize; List edges; @override List get props => [totalSize, edges]; Map toJson() => _$GhRepoLanguageConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoLanguageEdge with EquatableMixin { GhRepoLanguageEdge({this.size, this.node}); factory GhRepoLanguageEdge.fromJson(Map json) => _$GhRepoLanguageEdgeFromJson(json); int size; GhRepoLanguage node; @override List get props => [size, node]; Map toJson() => _$GhRepoLanguageEdgeToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRef with EquatableMixin implements GhRepoNode { GhRepoRef({this.name, this.target}); factory GhRepoRef.fromJson(Map json) => _$GhRepoRefFromJson(json); String name; GhRepoGitObject target; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [name, target, resolveType]; Map toJson() => _$GhRepoRefToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoGitObject with EquatableMixin { GhRepoGitObject(); factory GhRepoGitObject.fromJson(Map json) { switch (json['__typename'].toString()) { case 'Commit': return GhRepoCommit.fromJson(json); default: } return _$GhRepoGitObjectFromJson(json); } @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() { switch (resolveType) { case 'Commit': return (this as GhRepoCommit).toJson(); default: } return _$GhRepoGitObjectToJson(this); } } @JsonSerializable(explicitToJson: true) class GhRepoCommit extends GhRepoPullRequestTimelineItem with EquatableMixin implements GhRepoNode, GhRepoGitObject, GhRepoSubscribable, GhRepoUniformResourceLocatable { GhRepoCommit({this.history}); factory GhRepoCommit.fromJson(Map json) => _$GhRepoCommitFromJson(json); GhRepoCommitHistoryConnection history; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [history, resolveType]; Map toJson() => _$GhRepoCommitToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoCommitHistoryConnection with EquatableMixin { GhRepoCommitHistoryConnection({this.totalCount}); factory GhRepoCommitHistoryConnection.fromJson(Map json) => _$GhRepoCommitHistoryConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhRepoCommitHistoryConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoPullRequestTimelineItem with EquatableMixin { GhRepoPullRequestTimelineItem(); factory GhRepoPullRequestTimelineItem.fromJson(Map json) => _$GhRepoPullRequestTimelineItemFromJson(json); @override List get props => []; Map toJson() => _$GhRepoPullRequestTimelineItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoSubscribable with EquatableMixin { GhRepoSubscribable(); factory GhRepoSubscribable.fromJson(Map json) => _$GhRepoSubscribableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhRepoSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoUniformResourceLocatable with EquatableMixin { GhRepoUniformResourceLocatable(); factory GhRepoUniformResourceLocatable.fromJson(Map json) => _$GhRepoUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhRepoUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRefConnection with EquatableMixin { GhRepoRefConnection({this.totalCount, this.nodes}); factory GhRepoRefConnection.fromJson(Map json) => _$GhRepoRefConnectionFromJson(json); int totalCount; List nodes; @override List get props => [totalCount, nodes]; Map toJson() => _$GhRepoRefConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoLicense with EquatableMixin implements GhRepoNode { GhRepoLicense({this.name, this.spdxId}); factory GhRepoLicense.fromJson(Map json) => _$GhRepoLicenseFromJson(json); String name; String spdxId; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [name, spdxId, resolveType]; Map toJson() => _$GhRepoLicenseToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRepositoryTopicConnection with EquatableMixin { GhRepoRepositoryTopicConnection({this.nodes}); factory GhRepoRepositoryTopicConnection.fromJson(Map json) => _$GhRepoRepositoryTopicConnectionFromJson(json); List nodes; @override List get props => [nodes]; Map toJson() => _$GhRepoRepositoryTopicConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRepositoryTopic with EquatableMixin implements GhRepoNode, GhRepoUniformResourceLocatable { GhRepoRepositoryTopic({this.topic}); factory GhRepoRepositoryTopic.fromJson(Map json) => _$GhRepoRepositoryTopicFromJson(json); @override String url; GhRepoTopic topic; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [url, topic, resolveType]; Map toJson() => _$GhRepoRepositoryTopicToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoTopic with EquatableMixin implements GhRepoNode, GhRepoStarrable { GhRepoTopic({this.name}); factory GhRepoTopic.fromJson(Map json) => _$GhRepoTopicFromJson(json); String name; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [name, resolveType]; Map toJson() => _$GhRepoTopicToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoStarrable with EquatableMixin { GhRepoStarrable(); factory GhRepoStarrable.fromJson(Map json) => _$GhRepoStarrableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhRepoStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoPinnableItem with EquatableMixin { GhRepoPinnableItem(); factory GhRepoPinnableItem.fromJson(Map json) => _$GhRepoPinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GhRepoPinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoProjectOwner with EquatableMixin { GhRepoProjectOwner({this.id, this.projectsUrl, this.projects}); factory GhRepoProjectOwner.fromJson(Map json) => _$GhRepoProjectOwnerFromJson(json); String id; String projectsUrl; GhRepoProjectConnection projects; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, projectsUrl, projects, resolveType]; Map toJson() => _$GhRepoProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRegistryPackageOwner with EquatableMixin { GhRepoRegistryPackageOwner({this.id}); factory GhRepoRegistryPackageOwner.fromJson(Map json) => _$GhRepoRegistryPackageOwnerFromJson(json); String id; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, resolveType]; Map toJson() => _$GhRepoRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRegistryPackageSearch with EquatableMixin { GhRepoRegistryPackageSearch({this.id}); factory GhRepoRegistryPackageSearch.fromJson(Map json) => _$GhRepoRegistryPackageSearchFromJson(json); String id; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, resolveType]; Map toJson() => _$GhRepoRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoRepositoryInfo with EquatableMixin { GhRepoRepositoryInfo( {this.owner, this.name, this.description, this.homepageUrl, this.isPrivate, this.isFork, this.hasIssuesEnabled, this.url, this.licenseInfo}); factory GhRepoRepositoryInfo.fromJson(Map json) => _$GhRepoRepositoryInfoFromJson(json); GhRepoRepositoryOwner owner; String name; String description; String homepageUrl; bool isPrivate; bool isFork; bool hasIssuesEnabled; String url; GhRepoLicense licenseInfo; @JsonKey(name: '__typename') String resolveType; @override List get props => [ owner, name, description, homepageUrl, isPrivate, isFork, hasIssuesEnabled, url, licenseInfo, resolveType ]; Map toJson() => _$GhRepoRepositoryInfoToJson(this); } enum GhRepoSubscriptionState { UNSUBSCRIBED, SUBSCRIBED, IGNORED, } @JsonSerializable(explicitToJson: true) class GhRepoArguments extends JsonSerializable with EquatableMixin { GhRepoArguments( {@required this.owner, @required this.name, @required this.branchSpecified, @required this.branch}); factory GhRepoArguments.fromJson(Map json) => _$GhRepoArgumentsFromJson(json); final String owner; final String name; final bool branchSpecified; final String branch; @override List get props => [owner, name, branchSpecified, branch]; Map toJson() => _$GhRepoArgumentsToJson(this); } class GhRepoQuery extends GraphQLQuery { GhRepoQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.query, name: NameNode(value: 'GhRepo'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'owner')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'name')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'branchSpecified')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'branch')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'repository'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'owner'), value: VariableNode(name: NameNode(value: 'owner'))), ArgumentNode( name: NameNode(value: 'name'), value: VariableNode(name: NameNode(value: 'name'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'homepageUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'id'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'diskUsage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'hasIssuesEnabled'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'url'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'viewerHasStarred'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'viewerSubscription'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'projectsUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'watchers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'issues'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'states'), value: EnumValueNode(name: NameNode(value: 'OPEN'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'pullRequests'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'states'), value: EnumValueNode(name: NameNode(value: 'OPEN'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'projects'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'releases'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'languages'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '10')), ArgumentNode( name: NameNode(value: 'orderBy'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'field'), value: EnumValueNode( name: NameNode(value: 'SIZE'))), ObjectFieldNode( name: NameNode(value: 'direction'), value: EnumValueNode( name: NameNode(value: 'DESC'))) ])) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalSize'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'edges'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'size'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'node'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])), FieldNode( name: NameNode(value: 'defaultBranchRef'), alias: null, arguments: [], directives: [ DirectiveNode(name: NameNode(value: 'skip'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'branchSpecified'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'target'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Commit'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'history'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])), FieldNode( name: NameNode(value: 'ref'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'qualifiedName'), value: VariableNode(name: NameNode(value: 'branch'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'branchSpecified'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'target'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Commit'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'history'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])), FieldNode( name: NameNode(value: 'refs'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '100')), ArgumentNode( name: NameNode(value: 'refPrefix'), value: StringValueNode( value: 'refs/heads/', isBlock: false)) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'licenseInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'spdxId'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'repositoryTopics'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '10')) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'url'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'topic'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])) ])) ]); @override final String operationName = 'GhRepo'; @override final GhRepoArguments variables; @override List get props => [document, operationName, variables]; @override GhRepo parse(Map json) => GhRepo.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhUsers with EquatableMixin { GhUsers({this.user, this.organization, this.repository}); factory GhUsers.fromJson(Map json) => _$GhUsersFromJson(json); GhUsersUser user; GhUsersOrganization organization; GhUsersRepository repository; @override List get props => [user, organization, repository]; Map toJson() => _$GhUsersToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersUser extends GhUsersAuditEntryActor with EquatableMixin implements GhUsersNode, GhUsersActor, GhUsersRegistryPackageOwner, GhUsersRegistryPackageSearch, GhUsersProjectOwner, GhUsersRepositoryOwner, GhUsersUniformResourceLocatable, GhUsersProfileOwner, GhUsersSponsorable { GhUsersUser({this.company, this.createdAt, this.followers, this.following}); factory GhUsersUser.fromJson(Map json) => _$GhUsersUserFromJson(json); @override String login; @override String name; @override String avatarUrl; String company; @override String location; DateTime createdAt; GhUsersFollowerConnection followers; GhUsersFollowingConnection following; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [ login, name, avatarUrl, company, location, createdAt, followers, following, resolveType ]; Map toJson() => _$GhUsersUserToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersFollowerConnection with EquatableMixin { GhUsersFollowerConnection({this.pageInfo, this.nodes}); factory GhUsersFollowerConnection.fromJson(Map json) => _$GhUsersFollowerConnectionFromJson(json); GhUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GhUsersFollowerConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersPageInfo with EquatableMixin { GhUsersPageInfo({this.hasNextPage, this.endCursor}); factory GhUsersPageInfo.fromJson(Map json) => _$GhUsersPageInfoFromJson(json); bool hasNextPage; String endCursor; @override List get props => [hasNextPage, endCursor]; Map toJson() => _$GhUsersPageInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersAuditEntryActor with EquatableMixin { GhUsersAuditEntryActor(); factory GhUsersAuditEntryActor.fromJson(Map json) => _$GhUsersAuditEntryActorFromJson(json); @override List get props => []; Map toJson() => _$GhUsersAuditEntryActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersNode with EquatableMixin { GhUsersNode(); factory GhUsersNode.fromJson(Map json) => _$GhUsersNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUsersNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersActor with EquatableMixin { GhUsersActor({this.login, this.avatarUrl}); factory GhUsersActor.fromJson(Map json) => _$GhUsersActorFromJson(json); String login; String avatarUrl; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, avatarUrl, resolveType]; Map toJson() => _$GhUsersActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersRegistryPackageOwner with EquatableMixin { GhUsersRegistryPackageOwner(); factory GhUsersRegistryPackageOwner.fromJson(Map json) => _$GhUsersRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUsersRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersRegistryPackageSearch with EquatableMixin { GhUsersRegistryPackageSearch(); factory GhUsersRegistryPackageSearch.fromJson(Map json) => _$GhUsersRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUsersRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersProjectOwner with EquatableMixin { GhUsersProjectOwner(); factory GhUsersProjectOwner.fromJson(Map json) => _$GhUsersProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUsersProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersRepositoryOwner with EquatableMixin { GhUsersRepositoryOwner({this.login, this.avatarUrl}); factory GhUsersRepositoryOwner.fromJson(Map json) => _$GhUsersRepositoryOwnerFromJson(json); String login; String avatarUrl; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, avatarUrl, resolveType]; Map toJson() => _$GhUsersRepositoryOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersUniformResourceLocatable with EquatableMixin { GhUsersUniformResourceLocatable(); factory GhUsersUniformResourceLocatable.fromJson(Map json) => _$GhUsersUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUsersUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersProfileOwner with EquatableMixin { GhUsersProfileOwner({this.login, this.name, this.location}); factory GhUsersProfileOwner.fromJson(Map json) => _$GhUsersProfileOwnerFromJson(json); String login; String name; String location; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, name, location, resolveType]; Map toJson() => _$GhUsersProfileOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersSponsorable with EquatableMixin { GhUsersSponsorable(); factory GhUsersSponsorable.fromJson(Map json) => _$GhUsersSponsorableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUsersSponsorableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersFollowingConnection with EquatableMixin { GhUsersFollowingConnection({this.pageInfo, this.nodes}); factory GhUsersFollowingConnection.fromJson(Map json) => _$GhUsersFollowingConnectionFromJson(json); GhUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GhUsersFollowingConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersOrganization extends GhUsersAuditEntryActor with EquatableMixin implements GhUsersNode, GhUsersActor, GhUsersRegistryPackageOwner, GhUsersRegistryPackageSearch, GhUsersProjectOwner, GhUsersRepositoryOwner, GhUsersUniformResourceLocatable, GhUsersMemberStatusable, GhUsersProfileOwner, GhUsersSponsorable { GhUsersOrganization({this.membersWithRole}); factory GhUsersOrganization.fromJson(Map json) => _$GhUsersOrganizationFromJson(json); @override String login; @override String name; @override String avatarUrl; @override String location; GhUsersOrganizationMemberConnection membersWithRole; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [login, name, avatarUrl, location, membersWithRole, resolveType]; Map toJson() => _$GhUsersOrganizationToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersOrganizationMemberConnection with EquatableMixin { GhUsersOrganizationMemberConnection({this.pageInfo, this.nodes}); factory GhUsersOrganizationMemberConnection.fromJson( Map json) => _$GhUsersOrganizationMemberConnectionFromJson(json); GhUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GhUsersOrganizationMemberConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersMemberStatusable with EquatableMixin { GhUsersMemberStatusable(); factory GhUsersMemberStatusable.fromJson(Map json) => _$GhUsersMemberStatusableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUsersMemberStatusableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersRepository extends GhUsersPinnableItem with EquatableMixin implements GhUsersNode, GhUsersProjectOwner, GhUsersRegistryPackageOwner, GhUsersRegistryPackageSearch, GhUsersSubscribable, GhUsersStarrable, GhUsersUniformResourceLocatable, GhUsersRepositoryInfo { GhUsersRepository({this.watchers}); factory GhUsersRepository.fromJson(Map json) => _$GhUsersRepositoryFromJson(json); GhUsersUserConnection watchers; @override GhUsersStargazerConnection stargazers; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [watchers, stargazers, resolveType]; Map toJson() => _$GhUsersRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersUserConnection with EquatableMixin { GhUsersUserConnection({this.pageInfo, this.nodes}); factory GhUsersUserConnection.fromJson(Map json) => _$GhUsersUserConnectionFromJson(json); GhUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GhUsersUserConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersStargazerConnection with EquatableMixin { GhUsersStargazerConnection({this.pageInfo, this.nodes}); factory GhUsersStargazerConnection.fromJson(Map json) => _$GhUsersStargazerConnectionFromJson(json); GhUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GhUsersStargazerConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersPinnableItem with EquatableMixin { GhUsersPinnableItem(); factory GhUsersPinnableItem.fromJson(Map json) => _$GhUsersPinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GhUsersPinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersSubscribable with EquatableMixin { GhUsersSubscribable(); factory GhUsersSubscribable.fromJson(Map json) => _$GhUsersSubscribableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUsersSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersStarrable with EquatableMixin { GhUsersStarrable({this.stargazers}); factory GhUsersStarrable.fromJson(Map json) => _$GhUsersStarrableFromJson(json); GhUsersStargazerConnection stargazers; @JsonKey(name: '__typename') String resolveType; @override List get props => [stargazers, resolveType]; Map toJson() => _$GhUsersStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersRepositoryInfo with EquatableMixin { GhUsersRepositoryInfo(); factory GhUsersRepositoryInfo.fromJson(Map json) => _$GhUsersRepositoryInfoFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUsersRepositoryInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GhUsersArguments extends JsonSerializable with EquatableMixin { GhUsersArguments( {@required this.login, @required this.repoName, this.after, @required this.isFollowers, @required this.isFollowing, @required this.isMember, @required this.isStar, @required this.isWatch}); factory GhUsersArguments.fromJson(Map json) => _$GhUsersArgumentsFromJson(json); final String login; final String repoName; final String after; final bool isFollowers; final bool isFollowing; final bool isMember; final bool isStar; final bool isWatch; @override List get props => [ login, repoName, after, isFollowers, isFollowing, isMember, isStar, isWatch ]; Map toJson() => _$GhUsersArgumentsToJson(this); } class GhUsersQuery extends GraphQLQuery { GhUsersQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.query, name: NameNode(value: 'GhUsers'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'login')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'repoName')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'after')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: false), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isFollowers')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isFollowing')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isMember')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isStar')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isWatch')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'user'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'login'), value: VariableNode(name: NameNode(value: 'login'))) ], directives: [ DirectiveNode(name: NameNode(value: 'skip'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'isMember'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'company'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'createdAt'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'followers'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isFollowers'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'company'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'createdAt'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'following'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isFollowing'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'company'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'createdAt'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])), FieldNode( name: NameNode(value: 'organization'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'login'), value: VariableNode(name: NameNode(value: 'login'))) ], directives: [ DirectiveNode(name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'isMember'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'membersWithRole'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'company'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'createdAt'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])), FieldNode( name: NameNode(value: 'repository'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'owner'), value: VariableNode(name: NameNode(value: 'login'))), ArgumentNode( name: NameNode(value: 'name'), value: VariableNode(name: NameNode(value: 'repoName'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'watchers'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isWatch'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'company'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'createdAt'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isStar'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'company'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'createdAt'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])) ]); @override final String operationName = 'GhUsers'; @override final GhUsersArguments variables; @override List get props => [document, operationName, variables]; @override GhUsers parse(Map json) => GhUsers.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhCreateIssue with EquatableMixin { GhCreateIssue({this.createIssue}); factory GhCreateIssue.fromJson(Map json) => _$GhCreateIssueFromJson(json); GhCreateIssueCreateIssuePayload createIssue; @override List get props => [createIssue]; Map toJson() => _$GhCreateIssueToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueCreateIssuePayload with EquatableMixin { GhCreateIssueCreateIssuePayload({this.issue}); factory GhCreateIssueCreateIssuePayload.fromJson(Map json) => _$GhCreateIssueCreateIssuePayloadFromJson(json); GhCreateIssueIssue issue; @override List get props => [issue]; Map toJson() => _$GhCreateIssueCreateIssuePayloadToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueIssue extends GhCreateIssueProjectCardItem with EquatableMixin implements GhCreateIssueNode, GhCreateIssueAssignable, GhCreateIssueClosable, GhCreateIssueComment, GhCreateIssueUpdatable, GhCreateIssueUpdatableComment, GhCreateIssueLabelable, GhCreateIssueLockable, GhCreateIssueReactable, GhCreateIssueRepositoryNode, GhCreateIssueSubscribable, GhCreateIssueUniformResourceLocatable { GhCreateIssueIssue({this.number}); factory GhCreateIssueIssue.fromJson(Map json) => _$GhCreateIssueIssueFromJson(json); int number; @override GhCreateIssueRepository repository; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [number, repository, resolveType]; Map toJson() => _$GhCreateIssueIssueToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueRepository extends GhCreateIssuePinnableItem with EquatableMixin implements GhCreateIssueNode, GhCreateIssueProjectOwner, GhCreateIssueRegistryPackageOwner, GhCreateIssueRegistryPackageSearch, GhCreateIssueSubscribable, GhCreateIssueStarrable, GhCreateIssueUniformResourceLocatable, GhCreateIssueRepositoryInfo { GhCreateIssueRepository(); factory GhCreateIssueRepository.fromJson(Map json) => _$GhCreateIssueRepositoryFromJson(json); @override GhCreateIssueRepositoryOwner owner; @override String name; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [owner, name, resolveType]; Map toJson() => _$GhCreateIssueRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueRepositoryOwner with EquatableMixin { GhCreateIssueRepositoryOwner({this.login}); factory GhCreateIssueRepositoryOwner.fromJson(Map json) => _$GhCreateIssueRepositoryOwnerFromJson(json); String login; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, resolveType]; Map toJson() => _$GhCreateIssueRepositoryOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssuePinnableItem with EquatableMixin { GhCreateIssuePinnableItem(); factory GhCreateIssuePinnableItem.fromJson(Map json) => _$GhCreateIssuePinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GhCreateIssuePinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueNode with EquatableMixin { GhCreateIssueNode(); factory GhCreateIssueNode.fromJson(Map json) => _$GhCreateIssueNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueProjectOwner with EquatableMixin { GhCreateIssueProjectOwner(); factory GhCreateIssueProjectOwner.fromJson(Map json) => _$GhCreateIssueProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueRegistryPackageOwner with EquatableMixin { GhCreateIssueRegistryPackageOwner(); factory GhCreateIssueRegistryPackageOwner.fromJson( Map json) => _$GhCreateIssueRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueRegistryPackageSearch with EquatableMixin { GhCreateIssueRegistryPackageSearch(); factory GhCreateIssueRegistryPackageSearch.fromJson( Map json) => _$GhCreateIssueRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueSubscribable with EquatableMixin { GhCreateIssueSubscribable(); factory GhCreateIssueSubscribable.fromJson(Map json) => _$GhCreateIssueSubscribableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueStarrable with EquatableMixin { GhCreateIssueStarrable(); factory GhCreateIssueStarrable.fromJson(Map json) => _$GhCreateIssueStarrableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueUniformResourceLocatable with EquatableMixin { GhCreateIssueUniformResourceLocatable(); factory GhCreateIssueUniformResourceLocatable.fromJson( Map json) => _$GhCreateIssueUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueRepositoryInfo with EquatableMixin { GhCreateIssueRepositoryInfo({this.owner, this.name}); factory GhCreateIssueRepositoryInfo.fromJson(Map json) => _$GhCreateIssueRepositoryInfoFromJson(json); GhCreateIssueRepositoryOwner owner; String name; @JsonKey(name: '__typename') String resolveType; @override List get props => [owner, name, resolveType]; Map toJson() => _$GhCreateIssueRepositoryInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueProjectCardItem with EquatableMixin { GhCreateIssueProjectCardItem(); factory GhCreateIssueProjectCardItem.fromJson(Map json) => _$GhCreateIssueProjectCardItemFromJson(json); @override List get props => []; Map toJson() => _$GhCreateIssueProjectCardItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueAssignable with EquatableMixin { GhCreateIssueAssignable(); factory GhCreateIssueAssignable.fromJson(Map json) => _$GhCreateIssueAssignableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueAssignableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueClosable with EquatableMixin { GhCreateIssueClosable(); factory GhCreateIssueClosable.fromJson(Map json) => _$GhCreateIssueClosableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueClosableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueComment with EquatableMixin { GhCreateIssueComment(); factory GhCreateIssueComment.fromJson(Map json) => _$GhCreateIssueCommentFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueCommentToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueUpdatable with EquatableMixin { GhCreateIssueUpdatable(); factory GhCreateIssueUpdatable.fromJson(Map json) => _$GhCreateIssueUpdatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueUpdatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueUpdatableComment with EquatableMixin { GhCreateIssueUpdatableComment(); factory GhCreateIssueUpdatableComment.fromJson(Map json) => _$GhCreateIssueUpdatableCommentFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueUpdatableCommentToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueLabelable with EquatableMixin { GhCreateIssueLabelable(); factory GhCreateIssueLabelable.fromJson(Map json) => _$GhCreateIssueLabelableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueLabelableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueLockable with EquatableMixin { GhCreateIssueLockable(); factory GhCreateIssueLockable.fromJson(Map json) => _$GhCreateIssueLockableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueLockableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueReactable with EquatableMixin { GhCreateIssueReactable(); factory GhCreateIssueReactable.fromJson(Map json) => _$GhCreateIssueReactableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCreateIssueReactableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueRepositoryNode with EquatableMixin { GhCreateIssueRepositoryNode({this.repository}); factory GhCreateIssueRepositoryNode.fromJson(Map json) => _$GhCreateIssueRepositoryNodeFromJson(json); GhCreateIssueRepository repository; @JsonKey(name: '__typename') String resolveType; @override List get props => [repository, resolveType]; Map toJson() => _$GhCreateIssueRepositoryNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhCreateIssueArguments extends JsonSerializable with EquatableMixin { GhCreateIssueArguments( {@required this.repoId, @required this.title, @required this.body}); factory GhCreateIssueArguments.fromJson(Map json) => _$GhCreateIssueArgumentsFromJson(json); final String repoId; final String title; final String body; @override List get props => [repoId, title, body]; Map toJson() => _$GhCreateIssueArgumentsToJson(this); } class GhCreateIssueQuery extends GraphQLQuery { GhCreateIssueQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.mutation, name: NameNode(value: 'GhCreateIssue'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'repoId')), type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'title')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'body')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'createIssue'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'input'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'repositoryId'), value: VariableNode(name: NameNode(value: 'repoId'))), ObjectFieldNode( name: NameNode(value: 'title'), value: VariableNode(name: NameNode(value: 'title'))), ObjectFieldNode( name: NameNode(value: 'body'), value: VariableNode(name: NameNode(value: 'body'))) ])) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'issue'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'number'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'repository'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])) ]); @override final String operationName = 'GhCreateIssue'; @override final GhCreateIssueArguments variables; @override List get props => [document, operationName, variables]; @override GhCreateIssue parse(Map json) => GhCreateIssue.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhOpenIssue with EquatableMixin { GhOpenIssue({this.reopenIssue, this.closeIssue}); factory GhOpenIssue.fromJson(Map json) => _$GhOpenIssueFromJson(json); GhOpenIssueReopenIssuePayload reopenIssue; GhOpenIssueCloseIssuePayload closeIssue; @override List get props => [reopenIssue, closeIssue]; Map toJson() => _$GhOpenIssueToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueReopenIssuePayload with EquatableMixin { GhOpenIssueReopenIssuePayload({this.issue}); factory GhOpenIssueReopenIssuePayload.fromJson(Map json) => _$GhOpenIssueReopenIssuePayloadFromJson(json); GhOpenIssueIssue issue; @override List get props => [issue]; Map toJson() => _$GhOpenIssueReopenIssuePayloadToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueIssue extends GhOpenIssueProjectCardItem with EquatableMixin implements GhOpenIssueNode, GhOpenIssueAssignable, GhOpenIssueClosable, GhOpenIssueComment, GhOpenIssueUpdatable, GhOpenIssueUpdatableComment, GhOpenIssueLabelable, GhOpenIssueLockable, GhOpenIssueReactable, GhOpenIssueRepositoryNode, GhOpenIssueSubscribable, GhOpenIssueUniformResourceLocatable { GhOpenIssueIssue(); factory GhOpenIssueIssue.fromJson(Map json) => _$GhOpenIssueIssueFromJson(json); @override bool closed; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [closed, resolveType]; Map toJson() => _$GhOpenIssueIssueToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueProjectCardItem with EquatableMixin { GhOpenIssueProjectCardItem(); factory GhOpenIssueProjectCardItem.fromJson(Map json) => _$GhOpenIssueProjectCardItemFromJson(json); @override List get props => []; Map toJson() => _$GhOpenIssueProjectCardItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueNode with EquatableMixin { GhOpenIssueNode(); factory GhOpenIssueNode.fromJson(Map json) => _$GhOpenIssueNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueAssignable with EquatableMixin { GhOpenIssueAssignable(); factory GhOpenIssueAssignable.fromJson(Map json) => _$GhOpenIssueAssignableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueAssignableToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueClosable with EquatableMixin { GhOpenIssueClosable({this.closed}); factory GhOpenIssueClosable.fromJson(Map json) => _$GhOpenIssueClosableFromJson(json); bool closed; @JsonKey(name: '__typename') String resolveType; @override List get props => [closed, resolveType]; Map toJson() => _$GhOpenIssueClosableToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueComment with EquatableMixin { GhOpenIssueComment(); factory GhOpenIssueComment.fromJson(Map json) => _$GhOpenIssueCommentFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueCommentToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueUpdatable with EquatableMixin { GhOpenIssueUpdatable(); factory GhOpenIssueUpdatable.fromJson(Map json) => _$GhOpenIssueUpdatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueUpdatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueUpdatableComment with EquatableMixin { GhOpenIssueUpdatableComment(); factory GhOpenIssueUpdatableComment.fromJson(Map json) => _$GhOpenIssueUpdatableCommentFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueUpdatableCommentToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueLabelable with EquatableMixin { GhOpenIssueLabelable(); factory GhOpenIssueLabelable.fromJson(Map json) => _$GhOpenIssueLabelableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueLabelableToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueLockable with EquatableMixin { GhOpenIssueLockable(); factory GhOpenIssueLockable.fromJson(Map json) => _$GhOpenIssueLockableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueLockableToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueReactable with EquatableMixin { GhOpenIssueReactable(); factory GhOpenIssueReactable.fromJson(Map json) => _$GhOpenIssueReactableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueReactableToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueRepositoryNode with EquatableMixin { GhOpenIssueRepositoryNode(); factory GhOpenIssueRepositoryNode.fromJson(Map json) => _$GhOpenIssueRepositoryNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueRepositoryNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueSubscribable with EquatableMixin { GhOpenIssueSubscribable(); factory GhOpenIssueSubscribable.fromJson(Map json) => _$GhOpenIssueSubscribableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueUniformResourceLocatable with EquatableMixin { GhOpenIssueUniformResourceLocatable(); factory GhOpenIssueUniformResourceLocatable.fromJson( Map json) => _$GhOpenIssueUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhOpenIssueUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueCloseIssuePayload with EquatableMixin { GhOpenIssueCloseIssuePayload({this.issue}); factory GhOpenIssueCloseIssuePayload.fromJson(Map json) => _$GhOpenIssueCloseIssuePayloadFromJson(json); GhOpenIssueIssue issue; @override List get props => [issue]; Map toJson() => _$GhOpenIssueCloseIssuePayloadToJson(this); } @JsonSerializable(explicitToJson: true) class GhOpenIssueArguments extends JsonSerializable with EquatableMixin { GhOpenIssueArguments({@required this.id, @required this.open}); factory GhOpenIssueArguments.fromJson(Map json) => _$GhOpenIssueArgumentsFromJson(json); final String id; final bool open; @override List get props => [id, open]; Map toJson() => _$GhOpenIssueArgumentsToJson(this); } class GhOpenIssueQuery extends GraphQLQuery { GhOpenIssueQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.mutation, name: NameNode(value: 'GhOpenIssue'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'id')), type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'open')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'reopenIssue'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'input'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'issueId'), value: VariableNode(name: NameNode(value: 'id'))) ])) ], directives: [ DirectiveNode(name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'open'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'issue'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'closed'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'closeIssue'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'input'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'issueId'), value: VariableNode(name: NameNode(value: 'id'))) ])) ], directives: [ DirectiveNode(name: NameNode(value: 'skip'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'open'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'issue'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'closed'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ]); @override final String operationName = 'GhOpenIssue'; @override final GhOpenIssueArguments variables; @override List get props => [document, operationName, variables]; @override GhOpenIssue parse(Map json) => GhOpenIssue.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhRepos with EquatableMixin { GhRepos({this.repositoryOwner}); factory GhRepos.fromJson(Map json) => _$GhReposFromJson(json); GhReposRepositoryOwner repositoryOwner; @override List get props => [repositoryOwner]; Map toJson() => _$GhReposToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposRepositoryOwner with EquatableMixin { GhReposRepositoryOwner({this.login, this.avatarUrl}); factory GhReposRepositoryOwner.fromJson(Map json) { switch (json['__typename'].toString()) { case 'User': return GhReposUser.fromJson(json); case 'Organization': return GhReposOrganization.fromJson(json); default: } return _$GhReposRepositoryOwnerFromJson(json); } String login; String avatarUrl; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, avatarUrl, resolveType]; Map toJson() { switch (resolveType) { case 'User': return (this as GhReposUser).toJson(); case 'Organization': return (this as GhReposOrganization).toJson(); default: } return _$GhReposRepositoryOwnerToJson(this); } } @JsonSerializable(explicitToJson: true) class GhReposUser extends GhReposAuditEntryActor with EquatableMixin implements GhReposNode, GhReposActor, GhReposRegistryPackageOwner, GhReposRegistryPackageSearch, GhReposProjectOwner, GhReposRepositoryOwner, GhReposUniformResourceLocatable, GhReposProfileOwner, GhReposSponsorable { GhReposUser({this.repositories, this.starredRepositories}); factory GhReposUser.fromJson(Map json) => _$GhReposUserFromJson(json); GhReposRepositoryConnection repositories; GhReposStarredRepositoryConnection starredRepositories; @override @JsonKey(name: '__typename') String resolveType; @override String login; @override String avatarUrl; @override List get props => [repositories, starredRepositories, resolveType, login, avatarUrl]; Map toJson() => _$GhReposUserToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposRepositoryConnection with EquatableMixin { GhReposRepositoryConnection({this.totalCount, this.pageInfo, this.nodes}); factory GhReposRepositoryConnection.fromJson(Map json) => _$GhReposRepositoryConnectionFromJson(json); int totalCount; GhReposPageInfo pageInfo; List nodes; @override List get props => [totalCount, pageInfo, nodes]; Map toJson() => _$GhReposRepositoryConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposPageInfo with EquatableMixin { GhReposPageInfo({this.hasNextPage, this.endCursor}); factory GhReposPageInfo.fromJson(Map json) => _$GhReposPageInfoFromJson(json); bool hasNextPage; String endCursor; @override List get props => [hasNextPage, endCursor]; Map toJson() => _$GhReposPageInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposRepository extends GhReposPinnableItem with EquatableMixin implements GhReposNode, GhReposProjectOwner, GhReposRegistryPackageOwner, GhReposRegistryPackageSearch, GhReposSubscribable, GhReposStarrable, GhReposUniformResourceLocatable, GhReposRepositoryInfo { GhReposRepository({this.forks, this.primaryLanguage}); factory GhReposRepository.fromJson(Map json) => _$GhReposRepositoryFromJson(json); @override GhReposRepositoryOwner owner; @override String name; @override String description; @override bool isPrivate; @override bool isFork; @override DateTime updatedAt; @override GhReposStargazerConnection stargazers; GhReposRepositoryConnection forks; GhReposLanguage primaryLanguage; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [ owner, name, description, isPrivate, isFork, updatedAt, stargazers, forks, primaryLanguage, resolveType ]; Map toJson() => _$GhReposRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposStargazerConnection with EquatableMixin { GhReposStargazerConnection({this.totalCount}); factory GhReposStargazerConnection.fromJson(Map json) => _$GhReposStargazerConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhReposStargazerConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposLanguage with EquatableMixin implements GhReposNode { GhReposLanguage({this.color, this.name}); factory GhReposLanguage.fromJson(Map json) => _$GhReposLanguageFromJson(json); String color; String name; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [color, name, resolveType]; Map toJson() => _$GhReposLanguageToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposNode with EquatableMixin { GhReposNode(); factory GhReposNode.fromJson(Map json) => _$GhReposNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposPinnableItem with EquatableMixin { GhReposPinnableItem(); factory GhReposPinnableItem.fromJson(Map json) => _$GhReposPinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GhReposPinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposProjectOwner with EquatableMixin { GhReposProjectOwner(); factory GhReposProjectOwner.fromJson(Map json) => _$GhReposProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposRegistryPackageOwner with EquatableMixin { GhReposRegistryPackageOwner(); factory GhReposRegistryPackageOwner.fromJson(Map json) => _$GhReposRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposRegistryPackageSearch with EquatableMixin { GhReposRegistryPackageSearch(); factory GhReposRegistryPackageSearch.fromJson(Map json) => _$GhReposRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposSubscribable with EquatableMixin { GhReposSubscribable(); factory GhReposSubscribable.fromJson(Map json) => _$GhReposSubscribableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposStarrable with EquatableMixin { GhReposStarrable({this.stargazers}); factory GhReposStarrable.fromJson(Map json) => _$GhReposStarrableFromJson(json); GhReposStargazerConnection stargazers; @JsonKey(name: '__typename') String resolveType; @override List get props => [stargazers, resolveType]; Map toJson() => _$GhReposStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposUniformResourceLocatable with EquatableMixin { GhReposUniformResourceLocatable(); factory GhReposUniformResourceLocatable.fromJson(Map json) => _$GhReposUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposRepositoryInfo with EquatableMixin { GhReposRepositoryInfo( {this.owner, this.name, this.description, this.isPrivate, this.isFork, this.updatedAt}); factory GhReposRepositoryInfo.fromJson(Map json) => _$GhReposRepositoryInfoFromJson(json); GhReposRepositoryOwner owner; String name; String description; bool isPrivate; bool isFork; DateTime updatedAt; @JsonKey(name: '__typename') String resolveType; @override List get props => [owner, name, description, isPrivate, isFork, updatedAt, resolveType]; Map toJson() => _$GhReposRepositoryInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposStarredRepositoryConnection with EquatableMixin { GhReposStarredRepositoryConnection({this.pageInfo, this.nodes}); factory GhReposStarredRepositoryConnection.fromJson( Map json) => _$GhReposStarredRepositoryConnectionFromJson(json); GhReposPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GhReposStarredRepositoryConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposAuditEntryActor with EquatableMixin { GhReposAuditEntryActor(); factory GhReposAuditEntryActor.fromJson(Map json) => _$GhReposAuditEntryActorFromJson(json); @override List get props => []; Map toJson() => _$GhReposAuditEntryActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposActor with EquatableMixin { GhReposActor(); factory GhReposActor.fromJson(Map json) => _$GhReposActorFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposProfileOwner with EquatableMixin { GhReposProfileOwner(); factory GhReposProfileOwner.fromJson(Map json) => _$GhReposProfileOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposProfileOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposSponsorable with EquatableMixin { GhReposSponsorable(); factory GhReposSponsorable.fromJson(Map json) => _$GhReposSponsorableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposSponsorableToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposOrganization extends GhReposAuditEntryActor with EquatableMixin implements GhReposNode, GhReposActor, GhReposRegistryPackageOwner, GhReposRegistryPackageSearch, GhReposProjectOwner, GhReposRepositoryOwner, GhReposUniformResourceLocatable, GhReposMemberStatusable, GhReposProfileOwner, GhReposSponsorable { GhReposOrganization({this.pinnableItems}); factory GhReposOrganization.fromJson(Map json) => _$GhReposOrganizationFromJson(json); GhReposPinnableItemConnection pinnableItems; @override @JsonKey(name: '__typename') String resolveType; @override String login; @override String avatarUrl; @override List get props => [pinnableItems, resolveType, login, avatarUrl]; Map toJson() => _$GhReposOrganizationToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposPinnableItemConnection with EquatableMixin { GhReposPinnableItemConnection({this.pageInfo, this.nodes}); factory GhReposPinnableItemConnection.fromJson(Map json) => _$GhReposPinnableItemConnectionFromJson(json); GhReposPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GhReposPinnableItemConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposMemberStatusable with EquatableMixin { GhReposMemberStatusable(); factory GhReposMemberStatusable.fromJson(Map json) => _$GhReposMemberStatusableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhReposMemberStatusableToJson(this); } @JsonSerializable(explicitToJson: true) class GhReposArguments extends JsonSerializable with EquatableMixin { GhReposArguments({@required this.owner, this.after, @required this.isStar}); factory GhReposArguments.fromJson(Map json) => _$GhReposArgumentsFromJson(json); final String owner; final String after; final bool isStar; @override List get props => [owner, after, isStar]; Map toJson() => _$GhReposArgumentsToJson(this); } class GhReposQuery extends GraphQLQuery { GhReposQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.query, name: NameNode(value: 'GhRepos'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'owner')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'after')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: false), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isStar')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'repositoryOwner'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'login'), value: VariableNode(name: NameNode(value: 'owner'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'User'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'repositories'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode( name: NameNode(value: 'after'))), ArgumentNode( name: NameNode(value: 'orderBy'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'field'), value: EnumValueNode( name: NameNode(value: 'UPDATED_AT'))), ObjectFieldNode( name: NameNode(value: 'direction'), value: EnumValueNode( name: NameNode(value: 'DESC'))) ])) ], directives: [ DirectiveNode( name: NameNode(value: 'skip'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isStar'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'updatedAt'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])), FieldNode( name: NameNode(value: 'starredRepositories'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode( name: NameNode(value: 'after'))), ArgumentNode( name: NameNode(value: 'orderBy'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'field'), value: EnumValueNode( name: NameNode(value: 'STARRED_AT'))), ObjectFieldNode( name: NameNode(value: 'direction'), value: EnumValueNode( name: NameNode(value: 'DESC'))) ])) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isStar'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'updatedAt'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Organization'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pinnableItems'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode( name: NameNode(value: 'after'))), ArgumentNode( name: NameNode(value: 'types'), value: ListValueNode(values: [ EnumValueNode( name: NameNode(value: 'REPOSITORY')) ])) ], directives: [ DirectiveNode( name: NameNode(value: 'skip'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isStar'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Repository'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode( value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'updatedAt'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode( value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode( value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode( value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])) ])) ])) ])) ]); @override final String operationName = 'GhRepos'; @override final GhReposArguments variables; @override List get props => [document, operationName, variables]; @override GhRepos parse(Map json) => GhRepos.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhWatch with EquatableMixin { GhWatch({this.updateSubscription}); factory GhWatch.fromJson(Map json) => _$GhWatchFromJson(json); GhWatchUpdateSubscriptionPayload updateSubscription; @override List get props => [updateSubscription]; Map toJson() => _$GhWatchToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchUpdateSubscriptionPayload with EquatableMixin { GhWatchUpdateSubscriptionPayload({this.subscribable}); factory GhWatchUpdateSubscriptionPayload.fromJson( Map json) => _$GhWatchUpdateSubscriptionPayloadFromJson(json); GhWatchSubscribable subscribable; @override List get props => [subscribable]; Map toJson() => _$GhWatchUpdateSubscriptionPayloadToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchSubscribable with EquatableMixin { GhWatchSubscribable(); factory GhWatchSubscribable.fromJson(Map json) { switch (json['__typename'].toString()) { case 'Repository': return GhWatchRepository.fromJson(json); default: } return _$GhWatchSubscribableFromJson(json); } @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() { switch (resolveType) { case 'Repository': return (this as GhWatchRepository).toJson(); default: } return _$GhWatchSubscribableToJson(this); } } @JsonSerializable(explicitToJson: true) class GhWatchRepository extends GhWatchPinnableItem with EquatableMixin implements GhWatchNode, GhWatchProjectOwner, GhWatchRegistryPackageOwner, GhWatchRegistryPackageSearch, GhWatchSubscribable, GhWatchStarrable, GhWatchUniformResourceLocatable, GhWatchRepositoryInfo { GhWatchRepository({this.viewerSubscription}); factory GhWatchRepository.fromJson(Map json) => _$GhWatchRepositoryFromJson(json); GhWatchSubscriptionState viewerSubscription; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [viewerSubscription, resolveType]; Map toJson() => _$GhWatchRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchPinnableItem with EquatableMixin { GhWatchPinnableItem(); factory GhWatchPinnableItem.fromJson(Map json) => _$GhWatchPinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GhWatchPinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchNode with EquatableMixin { GhWatchNode(); factory GhWatchNode.fromJson(Map json) => _$GhWatchNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhWatchNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchProjectOwner with EquatableMixin { GhWatchProjectOwner(); factory GhWatchProjectOwner.fromJson(Map json) => _$GhWatchProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhWatchProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchRegistryPackageOwner with EquatableMixin { GhWatchRegistryPackageOwner(); factory GhWatchRegistryPackageOwner.fromJson(Map json) => _$GhWatchRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhWatchRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchRegistryPackageSearch with EquatableMixin { GhWatchRegistryPackageSearch(); factory GhWatchRegistryPackageSearch.fromJson(Map json) => _$GhWatchRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhWatchRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchStarrable with EquatableMixin { GhWatchStarrable(); factory GhWatchStarrable.fromJson(Map json) => _$GhWatchStarrableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhWatchStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchUniformResourceLocatable with EquatableMixin { GhWatchUniformResourceLocatable(); factory GhWatchUniformResourceLocatable.fromJson(Map json) => _$GhWatchUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhWatchUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhWatchRepositoryInfo with EquatableMixin { GhWatchRepositoryInfo(); factory GhWatchRepositoryInfo.fromJson(Map json) => _$GhWatchRepositoryInfoFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhWatchRepositoryInfoToJson(this); } enum GhWatchSubscriptionState { UNSUBSCRIBED, SUBSCRIBED, IGNORED, } @JsonSerializable(explicitToJson: true) class GhWatchArguments extends JsonSerializable with EquatableMixin { GhWatchArguments({@required this.id, @required this.state}); factory GhWatchArguments.fromJson(Map json) => _$GhWatchArgumentsFromJson(json); final String id; final GhWatchSubscriptionState state; @override List get props => [id, state]; Map toJson() => _$GhWatchArgumentsToJson(this); } class GhWatchQuery extends GraphQLQuery { GhWatchQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.mutation, name: NameNode(value: 'GhWatch'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'id')), type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'state')), type: NamedTypeNode( name: NameNode(value: 'SubscriptionState'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'updateSubscription'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'input'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'subscribableId'), value: VariableNode(name: NameNode(value: 'id'))), ObjectFieldNode( name: NameNode(value: 'state'), value: VariableNode(name: NameNode(value: 'state'))) ])) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'subscribable'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Repository'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'viewerSubscription'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])) ]); @override final String operationName = 'GhWatch'; @override final GhWatchArguments variables; @override List get props => [document, operationName, variables]; @override GhWatch parse(Map json) => GhWatch.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhUser with EquatableMixin { GhUser({this.repositoryOwner, this.viewer}); factory GhUser.fromJson(Map json) => _$GhUserFromJson(json); GhUserRepositoryOwner repositoryOwner; GhUserUser viewer; @override List get props => [repositoryOwner, viewer]; Map toJson() => _$GhUserToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserRepositoryOwner with EquatableMixin { GhUserRepositoryOwner({this.id, this.login, this.avatarUrl, this.url}); factory GhUserRepositoryOwner.fromJson(Map json) { switch (json['__typename'].toString()) { case 'User': return GhUserUser.fromJson(json); case 'Organization': return GhUserOrganization.fromJson(json); default: } return _$GhUserRepositoryOwnerFromJson(json); } String id; String login; String avatarUrl; String url; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, login, avatarUrl, url, resolveType]; Map toJson() { switch (resolveType) { case 'User': return (this as GhUserUser).toJson(); case 'Organization': return (this as GhUserOrganization).toJson(); default: } return _$GhUserRepositoryOwnerToJson(this); } } @JsonSerializable(explicitToJson: true) class GhUserUser extends GhUserAuditEntryActor with EquatableMixin implements GhUserNode, GhUserActor, GhUserRegistryPackageOwner, GhUserRegistryPackageSearch, GhUserProjectOwner, GhUserRepositoryOwner, GhUserUniformResourceLocatable, GhUserProfileOwner, GhUserSponsorable { GhUserUser( {this.name, this.bio, this.company, this.location, this.email, this.createdAt, this.websiteUrl, this.starredRepositories, this.followers, this.following, this.contributionsCollection, this.repositories, this.pinnedItems, this.viewerCanFollow, this.viewerIsFollowing}); factory GhUserUser.fromJson(Map json) => _$GhUserUserFromJson(json); String name; String bio; String company; String location; String email; DateTime createdAt; String websiteUrl; GhUserStarredRepositoryConnection starredRepositories; GhUserFollowerConnection followers; GhUserFollowingConnection following; GhUserContributionsCollection contributionsCollection; GhUserRepositoryConnection repositories; GhUserPinnableItemConnection pinnedItems; bool viewerCanFollow; bool viewerIsFollowing; @override @JsonKey(name: '__typename') String resolveType; @override String id; @override String login; @override String avatarUrl; @override String url; @override List get props => [ name, bio, company, location, email, createdAt, websiteUrl, starredRepositories, followers, following, contributionsCollection, repositories, pinnedItems, viewerCanFollow, viewerIsFollowing, resolveType, id, login, avatarUrl, url ]; Map toJson() => _$GhUserUserToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserStarredRepositoryConnection with EquatableMixin { GhUserStarredRepositoryConnection({this.totalCount}); factory GhUserStarredRepositoryConnection.fromJson( Map json) => _$GhUserStarredRepositoryConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhUserStarredRepositoryConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserFollowerConnection with EquatableMixin { GhUserFollowerConnection({this.totalCount}); factory GhUserFollowerConnection.fromJson(Map json) => _$GhUserFollowerConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhUserFollowerConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserFollowingConnection with EquatableMixin { GhUserFollowingConnection({this.totalCount}); factory GhUserFollowingConnection.fromJson(Map json) => _$GhUserFollowingConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhUserFollowingConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserContributionsCollection with EquatableMixin { GhUserContributionsCollection({this.contributionCalendar}); factory GhUserContributionsCollection.fromJson(Map json) => _$GhUserContributionsCollectionFromJson(json); GhUserContributionCalendar contributionCalendar; @override List get props => [contributionCalendar]; Map toJson() => _$GhUserContributionsCollectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserContributionCalendar with EquatableMixin { GhUserContributionCalendar({this.weeks}); factory GhUserContributionCalendar.fromJson(Map json) => _$GhUserContributionCalendarFromJson(json); List weeks; @override List get props => [weeks]; Map toJson() => _$GhUserContributionCalendarToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserContributionCalendarWeek with EquatableMixin { GhUserContributionCalendarWeek({this.contributionDays}); factory GhUserContributionCalendarWeek.fromJson(Map json) => _$GhUserContributionCalendarWeekFromJson(json); List contributionDays; @override List get props => [contributionDays]; Map toJson() => _$GhUserContributionCalendarWeekToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserContributionCalendarDay with EquatableMixin { GhUserContributionCalendarDay({this.color}); factory GhUserContributionCalendarDay.fromJson(Map json) => _$GhUserContributionCalendarDayFromJson(json); String color; @override List get props => [color]; Map toJson() => _$GhUserContributionCalendarDayToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserRepositoryConnection with EquatableMixin { GhUserRepositoryConnection({this.totalCount, this.nodes}); factory GhUserRepositoryConnection.fromJson(Map json) => _$GhUserRepositoryConnectionFromJson(json); int totalCount; List nodes; @override List get props => [totalCount, nodes]; Map toJson() => _$GhUserRepositoryConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserRepository extends GhUserPinnableItem with EquatableMixin implements GhUserNode, GhUserProjectOwner, GhUserRegistryPackageOwner, GhUserRegistryPackageSearch, GhUserSubscribable, GhUserStarrable, GhUserUniformResourceLocatable, GhUserRepositoryInfo { GhUserRepository({this.forks, this.primaryLanguage}); factory GhUserRepository.fromJson(Map json) => _$GhUserRepositoryFromJson(json); @override GhUserRepositoryOwner owner; @override String name; @override String description; @override bool isPrivate; @override bool isFork; @override GhUserStargazerConnection stargazers; GhUserRepositoryConnection forks; GhUserLanguage primaryLanguage; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [ owner, name, description, isPrivate, isFork, stargazers, forks, primaryLanguage, resolveType ]; Map toJson() => _$GhUserRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserStargazerConnection with EquatableMixin { GhUserStargazerConnection({this.totalCount}); factory GhUserStargazerConnection.fromJson(Map json) => _$GhUserStargazerConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhUserStargazerConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserLanguage with EquatableMixin implements GhUserNode { GhUserLanguage({this.color, this.name}); factory GhUserLanguage.fromJson(Map json) => _$GhUserLanguageFromJson(json); String color; String name; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [color, name, resolveType]; Map toJson() => _$GhUserLanguageToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserNode with EquatableMixin { GhUserNode(); factory GhUserNode.fromJson(Map json) => _$GhUserNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUserNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserPinnableItem with EquatableMixin { GhUserPinnableItem(); factory GhUserPinnableItem.fromJson(Map json) => _$GhUserPinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GhUserPinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserProjectOwner with EquatableMixin { GhUserProjectOwner(); factory GhUserProjectOwner.fromJson(Map json) => _$GhUserProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUserProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserRegistryPackageOwner with EquatableMixin { GhUserRegistryPackageOwner(); factory GhUserRegistryPackageOwner.fromJson(Map json) => _$GhUserRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUserRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserRegistryPackageSearch with EquatableMixin { GhUserRegistryPackageSearch(); factory GhUserRegistryPackageSearch.fromJson(Map json) => _$GhUserRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUserRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserSubscribable with EquatableMixin { GhUserSubscribable(); factory GhUserSubscribable.fromJson(Map json) => _$GhUserSubscribableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUserSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserStarrable with EquatableMixin { GhUserStarrable({this.stargazers}); factory GhUserStarrable.fromJson(Map json) => _$GhUserStarrableFromJson(json); GhUserStargazerConnection stargazers; @JsonKey(name: '__typename') String resolveType; @override List get props => [stargazers, resolveType]; Map toJson() => _$GhUserStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserUniformResourceLocatable with EquatableMixin { GhUserUniformResourceLocatable(); factory GhUserUniformResourceLocatable.fromJson(Map json) => _$GhUserUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUserUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserRepositoryInfo with EquatableMixin { GhUserRepositoryInfo( {this.owner, this.name, this.description, this.isPrivate, this.isFork}); factory GhUserRepositoryInfo.fromJson(Map json) => _$GhUserRepositoryInfoFromJson(json); GhUserRepositoryOwner owner; String name; String description; bool isPrivate; bool isFork; @JsonKey(name: '__typename') String resolveType; @override List get props => [owner, name, description, isPrivate, isFork, resolveType]; Map toJson() => _$GhUserRepositoryInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserPinnableItemConnection with EquatableMixin { GhUserPinnableItemConnection({this.totalCount, this.nodes}); factory GhUserPinnableItemConnection.fromJson(Map json) => _$GhUserPinnableItemConnectionFromJson(json); int totalCount; List nodes; @override List get props => [totalCount, nodes]; Map toJson() => _$GhUserPinnableItemConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserAuditEntryActor with EquatableMixin { GhUserAuditEntryActor(); factory GhUserAuditEntryActor.fromJson(Map json) => _$GhUserAuditEntryActorFromJson(json); @override List get props => []; Map toJson() => _$GhUserAuditEntryActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserActor with EquatableMixin { GhUserActor(); factory GhUserActor.fromJson(Map json) => _$GhUserActorFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUserActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserProfileOwner with EquatableMixin { GhUserProfileOwner( {this.name, this.location, this.email, this.websiteUrl, this.pinnedItems}); factory GhUserProfileOwner.fromJson(Map json) => _$GhUserProfileOwnerFromJson(json); String name; String location; String email; String websiteUrl; GhUserPinnableItemConnection pinnedItems; @JsonKey(name: '__typename') String resolveType; @override List get props => [name, location, email, websiteUrl, pinnedItems, resolveType]; Map toJson() => _$GhUserProfileOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserSponsorable with EquatableMixin { GhUserSponsorable(); factory GhUserSponsorable.fromJson(Map json) => _$GhUserSponsorableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUserSponsorableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserOrganization extends GhUserAuditEntryActor with EquatableMixin implements GhUserNode, GhUserActor, GhUserRegistryPackageOwner, GhUserRegistryPackageSearch, GhUserProjectOwner, GhUserRepositoryOwner, GhUserUniformResourceLocatable, GhUserMemberStatusable, GhUserProfileOwner, GhUserSponsorable { GhUserOrganization( {this.name, this.description, this.location, this.email, this.websiteUrl, this.createdAt, this.pinnedItems, this.pinnableItems, this.membersWithRole}); factory GhUserOrganization.fromJson(Map json) => _$GhUserOrganizationFromJson(json); String name; String description; String location; String email; String websiteUrl; DateTime createdAt; GhUserPinnableItemConnection pinnedItems; GhUserPinnableItemConnection pinnableItems; GhUserOrganizationMemberConnection membersWithRole; @override @JsonKey(name: '__typename') String resolveType; @override String id; @override String login; @override String avatarUrl; @override String url; @override List get props => [ name, description, location, email, websiteUrl, createdAt, pinnedItems, pinnableItems, membersWithRole, resolveType, id, login, avatarUrl, url ]; Map toJson() => _$GhUserOrganizationToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserOrganizationMemberConnection with EquatableMixin { GhUserOrganizationMemberConnection({this.totalCount}); factory GhUserOrganizationMemberConnection.fromJson( Map json) => _$GhUserOrganizationMemberConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GhUserOrganizationMemberConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserMemberStatusable with EquatableMixin { GhUserMemberStatusable(); factory GhUserMemberStatusable.fromJson(Map json) => _$GhUserMemberStatusableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhUserMemberStatusableToJson(this); } @JsonSerializable(explicitToJson: true) class GhUserArguments extends JsonSerializable with EquatableMixin { GhUserArguments({@required this.login, @required this.isViewer}); factory GhUserArguments.fromJson(Map json) => _$GhUserArgumentsFromJson(json); final String login; final bool isViewer; @override List get props => [login, isViewer]; Map toJson() => _$GhUserArgumentsToJson(this); } class GhUserQuery extends GraphQLQuery { GhUserQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.query, name: NameNode(value: 'GhUser'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'login')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isViewer')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'repositoryOwner'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'login'), value: VariableNode(name: NameNode(value: 'login'))) ], directives: [ DirectiveNode(name: NameNode(value: 'skip'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'isViewer'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'id'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'url'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'User'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'bio'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'company'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'email'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'createdAt'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'websiteUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'starredRepositories'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'followers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'following'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'contributionsCollection'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'contributionCalendar'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'weeks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode( value: 'contributionDays'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])), FieldNode( name: NameNode(value: 'repositories'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '6')), ArgumentNode( name: NameNode(value: 'ownerAffiliations'), value: EnumValueNode( name: NameNode(value: 'OWNER'))), ArgumentNode( name: NameNode(value: 'orderBy'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'field'), value: EnumValueNode( name: NameNode(value: 'STARGAZERS'))), ObjectFieldNode( name: NameNode(value: 'direction'), value: EnumValueNode( name: NameNode(value: 'DESC'))) ])) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])), FieldNode( name: NameNode(value: 'pinnedItems'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '6')) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Repository'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode( value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode( value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode( value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode( value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])), FieldNode( name: NameNode(value: 'viewerCanFollow'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'viewerIsFollowing'), alias: null, arguments: [], directives: [], selectionSet: null) ])), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Organization'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'email'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'websiteUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'createdAt'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'pinnedItems'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '6')) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Repository'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode( value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode( value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode( value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode( value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])), FieldNode( name: NameNode(value: 'pinnableItems'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '6')), ArgumentNode( name: NameNode(value: 'types'), value: ListValueNode(values: [ EnumValueNode( name: NameNode(value: 'REPOSITORY')) ])) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Repository'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode( value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode( value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode( value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode( value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])), FieldNode( name: NameNode(value: 'membersWithRole'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])), FieldNode( name: NameNode(value: 'viewer'), alias: null, arguments: [], directives: [ DirectiveNode(name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'isViewer'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'id'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'url'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'bio'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'company'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'email'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'createdAt'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'websiteUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'starredRepositories'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'followers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'following'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'contributionsCollection'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'contributionCalendar'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'weeks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'contributionDays'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])), FieldNode( name: NameNode(value: 'repositories'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '6')), ArgumentNode( name: NameNode(value: 'ownerAffiliations'), value: EnumValueNode(name: NameNode(value: 'OWNER'))), ArgumentNode( name: NameNode(value: 'orderBy'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'field'), value: EnumValueNode( name: NameNode(value: 'STARGAZERS'))), ObjectFieldNode( name: NameNode(value: 'direction'), value: EnumValueNode( name: NameNode(value: 'DESC'))) ])) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])), FieldNode( name: NameNode(value: 'pinnedItems'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '6')) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Repository'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'owner'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'description'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isPrivate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'isFork'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'forks'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'primaryLanguage'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'color'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])), FieldNode( name: NameNode(value: 'viewerCanFollow'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'viewerIsFollowing'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ]); @override final String operationName = 'GhUser'; @override final GhUserArguments variables; @override List get props => [document, operationName, variables]; @override GhUser parse(Map json) => GhUser.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhFollow with EquatableMixin { GhFollow({this.followUser, this.unfollowUser}); factory GhFollow.fromJson(Map json) => _$GhFollowFromJson(json); GhFollowFollowUserPayload followUser; GhFollowUnfollowUserPayload unfollowUser; @override List get props => [followUser, unfollowUser]; Map toJson() => _$GhFollowToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowFollowUserPayload with EquatableMixin { GhFollowFollowUserPayload({this.user}); factory GhFollowFollowUserPayload.fromJson(Map json) => _$GhFollowFollowUserPayloadFromJson(json); GhFollowUser user; @override List get props => [user]; Map toJson() => _$GhFollowFollowUserPayloadToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowUser extends GhFollowAuditEntryActor with EquatableMixin implements GhFollowNode, GhFollowActor, GhFollowRegistryPackageOwner, GhFollowRegistryPackageSearch, GhFollowProjectOwner, GhFollowRepositoryOwner, GhFollowUniformResourceLocatable, GhFollowProfileOwner, GhFollowSponsorable { GhFollowUser({this.viewerIsFollowing}); factory GhFollowUser.fromJson(Map json) => _$GhFollowUserFromJson(json); bool viewerIsFollowing; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [viewerIsFollowing, resolveType]; Map toJson() => _$GhFollowUserToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowAuditEntryActor with EquatableMixin { GhFollowAuditEntryActor(); factory GhFollowAuditEntryActor.fromJson(Map json) => _$GhFollowAuditEntryActorFromJson(json); @override List get props => []; Map toJson() => _$GhFollowAuditEntryActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowNode with EquatableMixin { GhFollowNode(); factory GhFollowNode.fromJson(Map json) => _$GhFollowNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhFollowNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowActor with EquatableMixin { GhFollowActor(); factory GhFollowActor.fromJson(Map json) => _$GhFollowActorFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhFollowActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowRegistryPackageOwner with EquatableMixin { GhFollowRegistryPackageOwner(); factory GhFollowRegistryPackageOwner.fromJson(Map json) => _$GhFollowRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhFollowRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowRegistryPackageSearch with EquatableMixin { GhFollowRegistryPackageSearch(); factory GhFollowRegistryPackageSearch.fromJson(Map json) => _$GhFollowRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhFollowRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowProjectOwner with EquatableMixin { GhFollowProjectOwner(); factory GhFollowProjectOwner.fromJson(Map json) => _$GhFollowProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhFollowProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowRepositoryOwner with EquatableMixin { GhFollowRepositoryOwner(); factory GhFollowRepositoryOwner.fromJson(Map json) => _$GhFollowRepositoryOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhFollowRepositoryOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowUniformResourceLocatable with EquatableMixin { GhFollowUniformResourceLocatable(); factory GhFollowUniformResourceLocatable.fromJson( Map json) => _$GhFollowUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhFollowUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowProfileOwner with EquatableMixin { GhFollowProfileOwner(); factory GhFollowProfileOwner.fromJson(Map json) => _$GhFollowProfileOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhFollowProfileOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowSponsorable with EquatableMixin { GhFollowSponsorable(); factory GhFollowSponsorable.fromJson(Map json) => _$GhFollowSponsorableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhFollowSponsorableToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowUnfollowUserPayload with EquatableMixin { GhFollowUnfollowUserPayload({this.user}); factory GhFollowUnfollowUserPayload.fromJson(Map json) => _$GhFollowUnfollowUserPayloadFromJson(json); GhFollowUser user; @override List get props => [user]; Map toJson() => _$GhFollowUnfollowUserPayloadToJson(this); } @JsonSerializable(explicitToJson: true) class GhFollowArguments extends JsonSerializable with EquatableMixin { GhFollowArguments({@required this.id, @required this.flag}); factory GhFollowArguments.fromJson(Map json) => _$GhFollowArgumentsFromJson(json); final String id; final bool flag; @override List get props => [id, flag]; Map toJson() => _$GhFollowArgumentsToJson(this); } class GhFollowQuery extends GraphQLQuery { GhFollowQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.mutation, name: NameNode(value: 'GhFollow'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'id')), type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'flag')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'followUser'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'input'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'userId'), value: VariableNode(name: NameNode(value: 'id'))) ])) ], directives: [ DirectiveNode(name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'flag'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'user'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'viewerIsFollowing'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'unfollowUser'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'input'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'userId'), value: VariableNode(name: NameNode(value: 'id'))) ])) ], directives: [ DirectiveNode(name: NameNode(value: 'skip'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'flag'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'user'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'viewerIsFollowing'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ]); @override final String operationName = 'GhFollow'; @override final GhFollowArguments variables; @override List get props => [document, operationName, variables]; @override GhFollow parse(Map json) => GhFollow.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhStar with EquatableMixin { GhStar({this.addStar, this.removeStar}); factory GhStar.fromJson(Map json) => _$GhStarFromJson(json); GhStarAddStarPayload addStar; GhStarRemoveStarPayload removeStar; @override List get props => [addStar, removeStar]; Map toJson() => _$GhStarToJson(this); } @JsonSerializable(explicitToJson: true) class GhStarAddStarPayload with EquatableMixin { GhStarAddStarPayload({this.starrable}); factory GhStarAddStarPayload.fromJson(Map json) => _$GhStarAddStarPayloadFromJson(json); GhStarStarrable starrable; @override List get props => [starrable]; Map toJson() => _$GhStarAddStarPayloadToJson(this); } @JsonSerializable(explicitToJson: true) class GhStarStarrable with EquatableMixin { GhStarStarrable({this.viewerHasStarred}); factory GhStarStarrable.fromJson(Map json) => _$GhStarStarrableFromJson(json); bool viewerHasStarred; @JsonKey(name: '__typename') String resolveType; @override List get props => [viewerHasStarred, resolveType]; Map toJson() => _$GhStarStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhStarRemoveStarPayload with EquatableMixin { GhStarRemoveStarPayload({this.starrable}); factory GhStarRemoveStarPayload.fromJson(Map json) => _$GhStarRemoveStarPayloadFromJson(json); GhStarStarrable starrable; @override List get props => [starrable]; Map toJson() => _$GhStarRemoveStarPayloadToJson(this); } @JsonSerializable(explicitToJson: true) class GhStarArguments extends JsonSerializable with EquatableMixin { GhStarArguments({@required this.id, @required this.flag}); factory GhStarArguments.fromJson(Map json) => _$GhStarArgumentsFromJson(json); final String id; final bool flag; @override List get props => [id, flag]; Map toJson() => _$GhStarArgumentsToJson(this); } class GhStarQuery extends GraphQLQuery { GhStarQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.mutation, name: NameNode(value: 'GhStar'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'id')), type: NamedTypeNode(name: NameNode(value: 'ID'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'flag')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'addStar'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'input'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'starrableId'), value: VariableNode(name: NameNode(value: 'id'))) ])) ], directives: [ DirectiveNode(name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'flag'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'starrable'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'viewerHasStarred'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'removeStar'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'input'), value: ObjectValueNode(fields: [ ObjectFieldNode( name: NameNode(value: 'starrableId'), value: VariableNode(name: NameNode(value: 'id'))) ])) ], directives: [ DirectiveNode(name: NameNode(value: 'skip'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'flag'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'starrable'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'viewerHasStarred'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ]); @override final String operationName = 'GhStar'; @override final GhStarArguments variables; @override List get props => [document, operationName, variables]; @override GhStar parse(Map json) => GhStar.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhObject with EquatableMixin { GhObject({this.repository}); factory GhObject.fromJson(Map json) => _$GhObjectFromJson(json); GhObjectRepository repository; @override List get props => [repository]; Map toJson() => _$GhObjectToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectRepository extends GhObjectPinnableItem with EquatableMixin implements GhObjectNode, GhObjectProjectOwner, GhObjectRegistryPackageOwner, GhObjectRegistryPackageSearch, GhObjectSubscribable, GhObjectStarrable, GhObjectUniformResourceLocatable, GhObjectRepositoryInfo { GhObjectRepository({this.object}); factory GhObjectRepository.fromJson(Map json) => _$GhObjectRepositoryFromJson(json); GhObjectGitObject object; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [object, resolveType]; Map toJson() => _$GhObjectRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectGitObject with EquatableMixin { GhObjectGitObject(); factory GhObjectGitObject.fromJson(Map json) { switch (json['__typename'].toString()) { case 'Tree': return GhObjectTree.fromJson(json); case 'Blob': return GhObjectBlob.fromJson(json); default: } return _$GhObjectGitObjectFromJson(json); } @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() { switch (resolveType) { case 'Tree': return (this as GhObjectTree).toJson(); case 'Blob': return (this as GhObjectBlob).toJson(); default: } return _$GhObjectGitObjectToJson(this); } } @JsonSerializable(explicitToJson: true) class GhObjectTree with EquatableMixin implements GhObjectNode, GhObjectGitObject { GhObjectTree({this.entries}); factory GhObjectTree.fromJson(Map json) => _$GhObjectTreeFromJson(json); List entries; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [entries, resolveType]; Map toJson() => _$GhObjectTreeToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectTreeEntry with EquatableMixin { GhObjectTreeEntry({this.type, this.name}); factory GhObjectTreeEntry.fromJson(Map json) => _$GhObjectTreeEntryFromJson(json); String type; String name; @override List get props => [type, name]; Map toJson() => _$GhObjectTreeEntryToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectNode with EquatableMixin { GhObjectNode(); factory GhObjectNode.fromJson(Map json) => _$GhObjectNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhObjectNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectBlob with EquatableMixin implements GhObjectNode, GhObjectGitObject { GhObjectBlob({this.text}); factory GhObjectBlob.fromJson(Map json) => _$GhObjectBlobFromJson(json); String text; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [text, resolveType]; Map toJson() => _$GhObjectBlobToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectPinnableItem with EquatableMixin { GhObjectPinnableItem(); factory GhObjectPinnableItem.fromJson(Map json) => _$GhObjectPinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GhObjectPinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectProjectOwner with EquatableMixin { GhObjectProjectOwner(); factory GhObjectProjectOwner.fromJson(Map json) => _$GhObjectProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhObjectProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectRegistryPackageOwner with EquatableMixin { GhObjectRegistryPackageOwner(); factory GhObjectRegistryPackageOwner.fromJson(Map json) => _$GhObjectRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhObjectRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectRegistryPackageSearch with EquatableMixin { GhObjectRegistryPackageSearch(); factory GhObjectRegistryPackageSearch.fromJson(Map json) => _$GhObjectRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhObjectRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectSubscribable with EquatableMixin { GhObjectSubscribable(); factory GhObjectSubscribable.fromJson(Map json) => _$GhObjectSubscribableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhObjectSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectStarrable with EquatableMixin { GhObjectStarrable(); factory GhObjectStarrable.fromJson(Map json) => _$GhObjectStarrableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhObjectStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectUniformResourceLocatable with EquatableMixin { GhObjectUniformResourceLocatable(); factory GhObjectUniformResourceLocatable.fromJson( Map json) => _$GhObjectUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhObjectUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectRepositoryInfo with EquatableMixin { GhObjectRepositoryInfo(); factory GhObjectRepositoryInfo.fromJson(Map json) => _$GhObjectRepositoryInfoFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhObjectRepositoryInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GhObjectArguments extends JsonSerializable with EquatableMixin { GhObjectArguments( {@required this.owner, @required this.name, @required this.expression}); factory GhObjectArguments.fromJson(Map json) => _$GhObjectArgumentsFromJson(json); final String owner; final String name; final String expression; @override List get props => [owner, name, expression]; Map toJson() => _$GhObjectArgumentsToJson(this); } class GhObjectQuery extends GraphQLQuery { GhObjectQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.query, name: NameNode(value: 'GhObject'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'owner')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'name')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'expression')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'repository'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'owner'), value: VariableNode(name: NameNode(value: 'owner'))), ArgumentNode( name: NameNode(value: 'name'), value: VariableNode(name: NameNode(value: 'name'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'object'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'expression'), value: VariableNode(name: NameNode(value: 'expression'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Tree'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'entries'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'type'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Blob'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'text'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])) ]); @override final String operationName = 'GhObject'; @override final GhObjectArguments variables; @override List get props => [document, operationName, variables]; @override GhObject parse(Map json) => GhObject.fromJson(json); } mixin TMixin { GhCommitsGitObject target; } @JsonSerializable(explicitToJson: true) class GhCommits with EquatableMixin { GhCommits({this.repository}); factory GhCommits.fromJson(Map json) => _$GhCommitsFromJson(json); GhCommitsRepository repository; @override List get props => [repository]; Map toJson() => _$GhCommitsToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsRepository extends GhCommitsPinnableItem with EquatableMixin implements GhCommitsNode, GhCommitsProjectOwner, GhCommitsRegistryPackageOwner, GhCommitsRegistryPackageSearch, GhCommitsSubscribable, GhCommitsStarrable, GhCommitsUniformResourceLocatable, GhCommitsRepositoryInfo { GhCommitsRepository({this.defaultBranchRef, this.ref}); factory GhCommitsRepository.fromJson(Map json) => _$GhCommitsRepositoryFromJson(json); GhCommitsRef defaultBranchRef; GhCommitsRef ref; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [defaultBranchRef, ref, resolveType]; Map toJson() => _$GhCommitsRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsRef with EquatableMixin, TMixin implements GhCommitsNode { GhCommitsRef(); factory GhCommitsRef.fromJson(Map json) => _$GhCommitsRefFromJson(json); @override @JsonKey(name: '__typename') String resolveType; @override List get props => [target, resolveType]; Map toJson() => _$GhCommitsRefToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsGitObject with EquatableMixin { GhCommitsGitObject(); factory GhCommitsGitObject.fromJson(Map json) { switch (json['__typename'].toString()) { case 'Commit': return GhCommitsCommit.fromJson(json); default: } return _$GhCommitsGitObjectFromJson(json); } @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() { switch (resolveType) { case 'Commit': return (this as GhCommitsCommit).toJson(); default: } return _$GhCommitsGitObjectToJson(this); } } @JsonSerializable(explicitToJson: true) class GhCommitsCommit extends GhCommitsPullRequestTimelineItem with EquatableMixin implements GhCommitsNode, GhCommitsGitObject, GhCommitsSubscribable, GhCommitsUniformResourceLocatable { GhCommitsCommit( {this.oid, this.url, this.messageHeadline, this.committedDate, this.author, this.status, this.history}); factory GhCommitsCommit.fromJson(Map json) => _$GhCommitsCommitFromJson(json); String oid; String url; String messageHeadline; DateTime committedDate; GhCommitsGitActor author; GhCommitsStatus status; GhCommitsCommitHistoryConnection history; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [ oid, url, messageHeadline, committedDate, author, status, history, resolveType ]; Map toJson() => _$GhCommitsCommitToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsGitActor with EquatableMixin { GhCommitsGitActor({this.name, this.avatarUrl, this.user}); factory GhCommitsGitActor.fromJson(Map json) => _$GhCommitsGitActorFromJson(json); String name; String avatarUrl; GhCommitsUser user; @override List get props => [name, avatarUrl, user]; Map toJson() => _$GhCommitsGitActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsUser extends GhCommitsAuditEntryActor with EquatableMixin implements GhCommitsNode, GhCommitsActor, GhCommitsRegistryPackageOwner, GhCommitsRegistryPackageSearch, GhCommitsProjectOwner, GhCommitsRepositoryOwner, GhCommitsUniformResourceLocatable, GhCommitsProfileOwner, GhCommitsSponsorable { GhCommitsUser(); factory GhCommitsUser.fromJson(Map json) => _$GhCommitsUserFromJson(json); @override String login; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [login, resolveType]; Map toJson() => _$GhCommitsUserToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsAuditEntryActor with EquatableMixin { GhCommitsAuditEntryActor(); factory GhCommitsAuditEntryActor.fromJson(Map json) => _$GhCommitsAuditEntryActorFromJson(json); @override List get props => []; Map toJson() => _$GhCommitsAuditEntryActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsNode with EquatableMixin { GhCommitsNode(); factory GhCommitsNode.fromJson(Map json) => _$GhCommitsNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCommitsNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsActor with EquatableMixin { GhCommitsActor({this.login}); factory GhCommitsActor.fromJson(Map json) => _$GhCommitsActorFromJson(json); String login; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, resolveType]; Map toJson() => _$GhCommitsActorToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsRegistryPackageOwner with EquatableMixin { GhCommitsRegistryPackageOwner(); factory GhCommitsRegistryPackageOwner.fromJson(Map json) => _$GhCommitsRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCommitsRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsRegistryPackageSearch with EquatableMixin { GhCommitsRegistryPackageSearch(); factory GhCommitsRegistryPackageSearch.fromJson(Map json) => _$GhCommitsRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCommitsRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsProjectOwner with EquatableMixin { GhCommitsProjectOwner(); factory GhCommitsProjectOwner.fromJson(Map json) => _$GhCommitsProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCommitsProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsRepositoryOwner with EquatableMixin { GhCommitsRepositoryOwner({this.login}); factory GhCommitsRepositoryOwner.fromJson(Map json) => _$GhCommitsRepositoryOwnerFromJson(json); String login; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, resolveType]; Map toJson() => _$GhCommitsRepositoryOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsUniformResourceLocatable with EquatableMixin { GhCommitsUniformResourceLocatable(); factory GhCommitsUniformResourceLocatable.fromJson( Map json) => _$GhCommitsUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCommitsUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsProfileOwner with EquatableMixin { GhCommitsProfileOwner({this.login}); factory GhCommitsProfileOwner.fromJson(Map json) => _$GhCommitsProfileOwnerFromJson(json); String login; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, resolveType]; Map toJson() => _$GhCommitsProfileOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsSponsorable with EquatableMixin { GhCommitsSponsorable(); factory GhCommitsSponsorable.fromJson(Map json) => _$GhCommitsSponsorableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCommitsSponsorableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsStatus with EquatableMixin implements GhCommitsNode { GhCommitsStatus({this.state}); factory GhCommitsStatus.fromJson(Map json) => _$GhCommitsStatusFromJson(json); GhCommitsStatusState state; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [state, resolveType]; Map toJson() => _$GhCommitsStatusToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsCommitHistoryConnection with EquatableMixin { GhCommitsCommitHistoryConnection({this.pageInfo, this.nodes}); factory GhCommitsCommitHistoryConnection.fromJson( Map json) => _$GhCommitsCommitHistoryConnectionFromJson(json); GhCommitsPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GhCommitsCommitHistoryConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsPageInfo with EquatableMixin { GhCommitsPageInfo({this.hasNextPage, this.endCursor}); factory GhCommitsPageInfo.fromJson(Map json) => _$GhCommitsPageInfoFromJson(json); bool hasNextPage; String endCursor; @override List get props => [hasNextPage, endCursor]; Map toJson() => _$GhCommitsPageInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsPullRequestTimelineItem with EquatableMixin { GhCommitsPullRequestTimelineItem(); factory GhCommitsPullRequestTimelineItem.fromJson( Map json) => _$GhCommitsPullRequestTimelineItemFromJson(json); @override List get props => []; Map toJson() => _$GhCommitsPullRequestTimelineItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsSubscribable with EquatableMixin { GhCommitsSubscribable(); factory GhCommitsSubscribable.fromJson(Map json) => _$GhCommitsSubscribableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCommitsSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsPinnableItem with EquatableMixin { GhCommitsPinnableItem(); factory GhCommitsPinnableItem.fromJson(Map json) => _$GhCommitsPinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GhCommitsPinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsStarrable with EquatableMixin { GhCommitsStarrable(); factory GhCommitsStarrable.fromJson(Map json) => _$GhCommitsStarrableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCommitsStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhCommitsRepositoryInfo with EquatableMixin { GhCommitsRepositoryInfo(); factory GhCommitsRepositoryInfo.fromJson(Map json) => _$GhCommitsRepositoryInfoFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhCommitsRepositoryInfoToJson(this); } enum GhCommitsStatusState { EXPECTED, ERROR, FAILURE, PENDING, SUCCESS, } @JsonSerializable(explicitToJson: true) class GhCommitsArguments extends JsonSerializable with EquatableMixin { GhCommitsArguments( {@required this.owner, @required this.name, @required this.ref, @required this.hasRef, this.after}); factory GhCommitsArguments.fromJson(Map json) => _$GhCommitsArgumentsFromJson(json); final String owner; final String name; final String ref; final bool hasRef; final String after; @override List get props => [owner, name, ref, hasRef, after]; Map toJson() => _$GhCommitsArgumentsToJson(this); } class GhCommitsQuery extends GraphQLQuery { GhCommitsQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ FragmentDefinitionNode( name: NameNode(value: 'T'), typeCondition: TypeConditionNode( on: NamedTypeNode(name: NameNode(value: 'Ref'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'target'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null), InlineFragmentNode( typeCondition: TypeConditionNode( on: NamedTypeNode( name: NameNode(value: 'Commit'), isNonNull: false)), directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'oid'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'url'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'messageHeadline'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'committedDate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'author'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'user'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'status'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'state'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'history'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode( name: NameNode(value: 'after'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'oid'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'url'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'messageHeadline'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'committedDate'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'author'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'user'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'status'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'state'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])) ])) ])), OperationDefinitionNode( type: OperationType.query, name: NameNode(value: 'GhCommits'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'owner')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'name')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'ref')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'hasRef')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'after')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: false), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'repository'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'owner'), value: VariableNode(name: NameNode(value: 'owner'))), ArgumentNode( name: NameNode(value: 'name'), value: VariableNode(name: NameNode(value: 'name'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'defaultBranchRef'), alias: null, arguments: [], directives: [ DirectiveNode(name: NameNode(value: 'skip'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'hasRef'))) ]) ], selectionSet: SelectionSetNode(selections: [ FragmentSpreadNode( name: NameNode(value: 'T'), directives: []) ])), FieldNode( name: NameNode(value: 'ref'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'qualifiedName'), value: VariableNode(name: NameNode(value: 'ref'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'hasRef'))) ]) ], selectionSet: SelectionSetNode(selections: [ FragmentSpreadNode( name: NameNode(value: 'T'), directives: []) ])) ])) ])) ]); @override final String operationName = 'GhCommits'; @override final GhCommitsArguments variables; @override List get props => [document, operationName, variables]; @override GhCommits parse(Map json) => GhCommits.fromJson(json); } @JsonSerializable(explicitToJson: true) class GhRepoId with EquatableMixin { GhRepoId({this.repository}); factory GhRepoId.fromJson(Map json) => _$GhRepoIdFromJson(json); GhRepoIdRepository repository; @override List get props => [repository]; Map toJson() => _$GhRepoIdToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdRepository extends GhRepoIdPinnableItem with EquatableMixin implements GhRepoIdNode, GhRepoIdProjectOwner, GhRepoIdRegistryPackageOwner, GhRepoIdRegistryPackageSearch, GhRepoIdSubscribable, GhRepoIdStarrable, GhRepoIdUniformResourceLocatable, GhRepoIdRepositoryInfo { GhRepoIdRepository(); factory GhRepoIdRepository.fromJson(Map json) => _$GhRepoIdRepositoryFromJson(json); @override String id; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [id, resolveType]; Map toJson() => _$GhRepoIdRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdPinnableItem with EquatableMixin { GhRepoIdPinnableItem(); factory GhRepoIdPinnableItem.fromJson(Map json) => _$GhRepoIdPinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GhRepoIdPinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdNode with EquatableMixin { GhRepoIdNode({this.id}); factory GhRepoIdNode.fromJson(Map json) => _$GhRepoIdNodeFromJson(json); String id; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, resolveType]; Map toJson() => _$GhRepoIdNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdProjectOwner with EquatableMixin { GhRepoIdProjectOwner({this.id}); factory GhRepoIdProjectOwner.fromJson(Map json) => _$GhRepoIdProjectOwnerFromJson(json); String id; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, resolveType]; Map toJson() => _$GhRepoIdProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdRegistryPackageOwner with EquatableMixin { GhRepoIdRegistryPackageOwner({this.id}); factory GhRepoIdRegistryPackageOwner.fromJson(Map json) => _$GhRepoIdRegistryPackageOwnerFromJson(json); String id; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, resolveType]; Map toJson() => _$GhRepoIdRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdRegistryPackageSearch with EquatableMixin { GhRepoIdRegistryPackageSearch({this.id}); factory GhRepoIdRegistryPackageSearch.fromJson(Map json) => _$GhRepoIdRegistryPackageSearchFromJson(json); String id; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, resolveType]; Map toJson() => _$GhRepoIdRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdSubscribable with EquatableMixin { GhRepoIdSubscribable({this.id}); factory GhRepoIdSubscribable.fromJson(Map json) => _$GhRepoIdSubscribableFromJson(json); String id; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, resolveType]; Map toJson() => _$GhRepoIdSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdStarrable with EquatableMixin { GhRepoIdStarrable({this.id}); factory GhRepoIdStarrable.fromJson(Map json) => _$GhRepoIdStarrableFromJson(json); String id; @JsonKey(name: '__typename') String resolveType; @override List get props => [id, resolveType]; Map toJson() => _$GhRepoIdStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdUniformResourceLocatable with EquatableMixin { GhRepoIdUniformResourceLocatable(); factory GhRepoIdUniformResourceLocatable.fromJson( Map json) => _$GhRepoIdUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhRepoIdUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdRepositoryInfo with EquatableMixin { GhRepoIdRepositoryInfo(); factory GhRepoIdRepositoryInfo.fromJson(Map json) => _$GhRepoIdRepositoryInfoFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GhRepoIdRepositoryInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GhRepoIdArguments extends JsonSerializable with EquatableMixin { GhRepoIdArguments({@required this.owner, @required this.name}); factory GhRepoIdArguments.fromJson(Map json) => _$GhRepoIdArgumentsFromJson(json); final String owner; final String name; @override List get props => [owner, name]; Map toJson() => _$GhRepoIdArgumentsToJson(this); } class GhRepoIdQuery extends GraphQLQuery { GhRepoIdQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.query, name: NameNode(value: 'GhRepoId'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'owner')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'name')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'repository'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'owner'), value: VariableNode(name: NameNode(value: 'owner'))), ArgumentNode( name: NameNode(value: 'name'), value: VariableNode(name: NameNode(value: 'name'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'id'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ]); @override final String operationName = 'GhRepoId'; @override final GhRepoIdArguments variables; @override List get props => [document, operationName, variables]; @override GhRepoId parse(Map json) => GhRepoId.fromJson(json); }