// GENERATED CODE - DO NOT MODIFY BY HAND part of 'github_object.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** GithubObject _$GithubObjectFromJson(Map json) { return GithubObject() ..repository = json['repository'] == null ? null : GithubObjectRepository.fromJson( json['repository'] as Map); } Map _$GithubObjectToJson(GithubObject instance) => { 'repository': instance.repository?.toJson(), }; GithubObjectRepository _$GithubObjectRepositoryFromJson( Map json) { return GithubObjectRepository() ..object = json['object'] == null ? null : GithubObjectGitObject.fromJson(json['object'] as Map) ..resolveType = json['__typename'] as String; } Map _$GithubObjectRepositoryToJson( GithubObjectRepository instance) => { 'object': instance.object?.toJson(), '__typename': instance.resolveType, }; GithubObjectGitObject _$GithubObjectGitObjectFromJson( Map json) { return GithubObjectGitObject()..resolveType = json['__typename'] as String; } Map _$GithubObjectGitObjectToJson( GithubObjectGitObject instance) => { '__typename': instance.resolveType, }; GithubObjectTree _$GithubObjectTreeFromJson(Map json) { return GithubObjectTree() ..entries = (json['entries'] as List) ?.map((e) => e == null ? null : GithubObjectTreeEntry.fromJson(e as Map)) ?.toList() ..resolveType = json['__typename'] as String; } Map _$GithubObjectTreeToJson(GithubObjectTree instance) => { 'entries': instance.entries?.map((e) => e?.toJson())?.toList(), '__typename': instance.resolveType, }; GithubObjectTreeEntry _$GithubObjectTreeEntryFromJson( Map json) { return GithubObjectTreeEntry() ..type = json['type'] as String ..name = json['name'] as String; } Map _$GithubObjectTreeEntryToJson( GithubObjectTreeEntry instance) => { 'type': instance.type, 'name': instance.name, }; GithubObjectNode _$GithubObjectNodeFromJson(Map json) { return GithubObjectNode()..resolveType = json['__typename'] as String; } Map _$GithubObjectNodeToJson(GithubObjectNode instance) => { '__typename': instance.resolveType, }; GithubObjectBlob _$GithubObjectBlobFromJson(Map json) { return GithubObjectBlob() ..text = json['text'] as String ..resolveType = json['__typename'] as String; } Map _$GithubObjectBlobToJson(GithubObjectBlob instance) => { 'text': instance.text, '__typename': instance.resolveType, }; GithubObjectPinnableItem _$GithubObjectPinnableItemFromJson( Map json) { return GithubObjectPinnableItem(); } Map _$GithubObjectPinnableItemToJson( GithubObjectPinnableItem instance) => {}; GithubObjectProjectOwner _$GithubObjectProjectOwnerFromJson( Map json) { return GithubObjectProjectOwner()..resolveType = json['__typename'] as String; } Map _$GithubObjectProjectOwnerToJson( GithubObjectProjectOwner instance) => { '__typename': instance.resolveType, }; GithubObjectRegistryPackageOwner _$GithubObjectRegistryPackageOwnerFromJson( Map json) { return GithubObjectRegistryPackageOwner() ..resolveType = json['__typename'] as String; } Map _$GithubObjectRegistryPackageOwnerToJson( GithubObjectRegistryPackageOwner instance) => { '__typename': instance.resolveType, }; GithubObjectRegistryPackageSearch _$GithubObjectRegistryPackageSearchFromJson( Map json) { return GithubObjectRegistryPackageSearch() ..resolveType = json['__typename'] as String; } Map _$GithubObjectRegistryPackageSearchToJson( GithubObjectRegistryPackageSearch instance) => { '__typename': instance.resolveType, }; GithubObjectSubscribable _$GithubObjectSubscribableFromJson( Map json) { return GithubObjectSubscribable()..resolveType = json['__typename'] as String; } Map _$GithubObjectSubscribableToJson( GithubObjectSubscribable instance) => { '__typename': instance.resolveType, }; GithubObjectStarrable _$GithubObjectStarrableFromJson( Map json) { return GithubObjectStarrable()..resolveType = json['__typename'] as String; } Map _$GithubObjectStarrableToJson( GithubObjectStarrable instance) => { '__typename': instance.resolveType, }; GithubObjectUniformResourceLocatable _$GithubObjectUniformResourceLocatableFromJson(Map json) { return GithubObjectUniformResourceLocatable() ..resolveType = json['__typename'] as String; } Map _$GithubObjectUniformResourceLocatableToJson( GithubObjectUniformResourceLocatable instance) => { '__typename': instance.resolveType, }; GithubObjectRepositoryInfo _$GithubObjectRepositoryInfoFromJson( Map json) { return GithubObjectRepositoryInfo() ..resolveType = json['__typename'] as String; } Map _$GithubObjectRepositoryInfoToJson( GithubObjectRepositoryInfo instance) => { '__typename': instance.resolveType, }; GithubObjectArguments _$GithubObjectArgumentsFromJson( Map json) { return GithubObjectArguments( owner: json['owner'] as String, name: json['name'] as String, expression: json['expression'] as String, ); } Map _$GithubObjectArgumentsToJson( GithubObjectArguments instance) => { 'owner': instance.owner, 'name': instance.name, 'expression': instance.expression, };